Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009458/0.0009459, allocations: 98.67 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 190.5 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003259, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 63.47 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3852/0.5317, allocations: 57.97 MB / 0.527 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03611/0.5679, allocations: 12.47 MB / 0.5391 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01646/0.5844, allocations: 280.4 kB / 0.5394 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.5961, allocations: 2.973 MB / 0.5423 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02888/0.625, allocations: 8.852 MB / 0.5509 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006756/0.6318, allocations: 1.001 MB / 0.5519 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07964/0.7115, allocations: 62.57 MB / 0.613 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.7217, allocations: 5.567 MB / 0.6185 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003858/0.7256, allocations: 1.825 MB / 0.6202 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/0.73, allocations: 2.835 MB / 0.623 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007566/0.7308, allocations: 204 kB / 0.6232 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.7335, allocations: 1.155 MB / 0.6243 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.7358, allocations: 2.377 MB / 0.6267 GB, free: 3.496 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.7373, allocations: 1.104 MB / 0.6277 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009966/0.7473, allocations: 7.52 MB / 0.6351 GB, free: 10.85 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.7473, allocations: 0 / 0.6351 GB, free: 10.85 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.7474, allocations: 0 / 0.6351 GB, free: 10.85 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004768/0.7478, allocations: 0 / 0.6351 GB, free: 10.85 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01637/0.7642, allocations: 5.919 MB / 0.6409 GB, free: 4.848 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.7643, allocations: 8.031 kB / 0.6409 GB, free: 4.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002685/0.767, allocations: 0.9178 MB / 0.6418 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.127/0.894, allocations: 12.84 MB / 0.6543 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.9066, allocations: 4.392 MB / 0.6586 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.9069, allocations: 312 kB / 0.6589 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/0.9088, allocations: 419.7 kB / 0.6593 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/0.9378, allocations: 13.7 MB / 0.6727 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.938, allocations: 55.44 kB / 0.6727 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008742/0.9389, allocations: 199.8 kB / 0.6729 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004273/0.9432, allocations: 2.531 MB / 0.6754 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.9684, allocations: 11.53 MB / 0.6866 GB, free: 4.957 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4044/1.373, allocations: 53.08 MB / 0.7385 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/1.388, allocations: 5.817 MB / 0.7442 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/1.393, allocations: 3.377 MB / 0.7475 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01775/1.411, allocations: 14.88 MB / 0.762 GB, free: 140 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/1.411, allocations: 62.38 kB / 0.7621 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 5.23e-06/1.411, allocations: 0 / 0.7621 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=264): time 0.06734/1.478, allocations: 26.27 MB / 0.7877 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.478, allocations: 265.3 kB / 0.788 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006104/1.484, allocations: 5.042 MB / 0.7929 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003981/1.485, allocations: 66.95 kB / 0.7929 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.486, allocations: 3.952 MB / 0.7968 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007432/1.487, allocations: 0.9858 MB / 0.7978 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/1.487, allocations: 159.9 kB / 0.7979 GB, free: 109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002483/1.488, allocations: 0.616 MB / 0.7985 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/1.491, allocations: 2.704 MB / 0.8012 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/1.496, allocations: 7.053 MB / 0.8081 GB, free: 96.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004933/1.5, allocations: 4.25 MB / 0.8122 GB, free: 92.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.393e-05/1.501, allocations: 44 kB / 0.8122 GB, free: 92.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.0142/1.515, allocations: 10.05 MB / 0.8221 GB, free: 82.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/1.515, allocations: 79.22 kB / 0.8221 GB, free: 82.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/1.515, allocations: 148 kB / 0.8223 GB, free: 81.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/1.516, allocations: 0.7265 MB / 0.823 GB, free: 81.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/1.521, allocations: 1.774 MB / 0.8247 GB, free: 79.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/1.527, allocations: 6.366 MB / 0.8309 GB, free: 72.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/1.532, allocations: 415.5 kB / 0.8313 GB, free: 72.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006071/1.532, allocations: 441.9 kB / 0.8318 GB, free: 71.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003193/1.536, allocations: 2.627 MB / 0.8343 GB, free: 69.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005884/1.536, allocations: 469.9 kB / 0.8348 GB, free: 68.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005904/1.542, allocations: 4.377 MB / 0.839 GB, free: 64.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/1.542, allocations: 29.17 kB / 0.8391 GB, free: 64.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.542, allocations: 4 kB / 0.8391 GB, free: 64.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/1.542, allocations: 11.95 kB / 0.8391 GB, free: 64.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/1.557, allocations: 10.86 MB / 0.8497 GB, free: 53.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.557, allocations: 0 / 0.8497 GB, free: 53.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/1.559, allocations: 0.4954 MB / 0.8502 GB, free: 53.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/1.56, allocations: 486.7 kB / 0.8506 GB, free: 52.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/1.56, allocations: 44 kB / 0.8507 GB, free: 52.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004872/1.565, allocations: 5.707 MB / 0.8562 GB, free: 46.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.565, allocations: 0 / 0.8562 GB, free: 46.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008371/1.573, allocations: 7.602 MB / 0.8637 GB, free: 38.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.575, allocations: 0.5066 MB / 0.8642 GB, free: 38.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/1.575, allocations: 36 kB / 0.8642 GB, free: 38.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/1.577, allocations: 173.1 kB / 0.8644 GB, free: 38.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/1.577, allocations: 141.8 kB / 0.8645 GB, free: 37.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.577, allocations: 71.98 kB / 0.8646 GB, free: 37.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003531/1.581, allocations: 3.153 MB / 0.8676 GB, free: 34.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/1.581, allocations: 0 / 0.8676 GB, free: 34.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00445/1.585, allocations: 1.301 MB / 0.8689 GB, free: 33.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008176/1.593, allocations: 8.312 MB / 0.877 GB, free: 25.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007914/1.601, allocations: 6.753 MB / 0.8836 GB, free: 18.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.601, allocations: 0 / 0.8836 GB, free: 18.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/1.604, allocations: 2.371 MB / 0.8859 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.607, allocations: 0.6016 MB / 0.8865 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3339/1.941, allocations: 47.71 MB / 0.9331 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005254/1.946, allocations: 4.106 MB / 0.9371 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005921/1.952, allocations: 2.37 MB / 0.9394 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003506/1.956, allocations: 2.63 MB / 0.942 GB, free: 177.1 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.956, allocations: 0 / 0.942 GB, free: 177.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/2.092, allocations: 100.1 MB / 1.04 GB, free: 82.98 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/2.092, allocations: 216.9 kB / 1.04 GB, free: 82.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.901/6.993, allocations: 2.734 kB / 1.04 GB, free: 82.74 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat