Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009773/0.0009775, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 172.1 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3439/0.3439, allocations: 43.55 MB / 314.6 MB, free: 9.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005401, allocations: 12 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1179, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01174/0.1297, allocations: 13.01 MB / 455.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.23/0.3597, allocations: 4.179 MB / 460.1 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.3617, allocations: 59.78 kB / 460.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.3632, allocations: 0.6027 MB / 460.7 MB, free: 35.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004405/0.3676, allocations: 2.134 MB / 462.9 MB, free: 35.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3688, allocations: 445.2 kB / 463.3 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.3721, allocations: 2.761 MB / 466.1 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.3737, allocations: 1.398 MB / 467.5 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/0.3747, allocations: 0.7136 MB / 468.2 MB, free: 34.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.376, allocations: 1.154 MB / 469.3 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.3763, allocations: 79.59 kB / 469.4 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.3776, allocations: 0.7809 MB / 470.2 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006852/0.3783, allocations: 0.964 MB / 471.1 MB, free: 34.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.3787, allocations: 0.494 MB / 471.6 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.3811, allocations: 3.032 MB / 474.7 MB, free: 34.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3811, allocations: 0 / 474.7 MB, free: 34.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3811, allocations: 0 / 474.7 MB, free: 34.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.407e-05/0.3812, allocations: 0 / 474.7 MB, free: 34.05 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.003758/0.3849, allocations: 2.506 MB / 477.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.385, allocations: 14.3 kB / 477.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004613/0.3854, allocations: 461 kB / 477.6 MB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/0.3911, allocations: 1.706 MB / 479.3 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.3942, allocations: 1.768 MB / 481.1 MB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/0.3943, allocations: 121.1 kB / 481.2 MB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/0.3946, allocations: 169.8 kB / 481.4 MB, free: 32.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009491/0.4041, allocations: 6.45 MB / 487.8 MB, free: 30.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.807e-05/0.4042, allocations: 33.98 kB / 487.9 MB, free: 30.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.4045, allocations: 85.55 kB / 488 MB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00258/0.4071, allocations: 1.432 MB / 489.4 MB, free: 30 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.4181, allocations: 5.719 MB / 495.1 MB, free: 28.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0262/0.4443, allocations: 26.78 MB / 0.5097 GB, free: 22.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/0.4481, allocations: 2.123 MB / 0.5117 GB, free: 21.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.4492, allocations: 1.049 MB / 0.5128 GB, free: 20.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.4494, allocations: 174.9 kB / 0.5129 GB, free: 20.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.4494, allocations: 44.33 kB / 0.513 GB, free: 20.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.596e-06/0.4494, allocations: 0 / 0.513 GB, free: 20.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01467/0.4641, allocations: 6.398 MB / 0.5192 GB, free: 14.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.4642, allocations: 140.9 kB / 0.5194 GB, free: 14.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.4683, allocations: 2.897 MB / 0.5222 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.4685, allocations: 37.7 kB / 0.5222 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.47, allocations: 2.121 MB / 0.5243 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004623/0.4705, allocations: 453.5 kB / 0.5247 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.4706, allocations: 88 kB / 0.5248 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003701/0.471, allocations: 0.4958 MB / 0.5253 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.4731, allocations: 1.402 MB / 0.5267 GB, free: 7.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003997/0.4771, allocations: 4.263 MB / 0.5308 GB, free: 1.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.4804, allocations: 2.406 MB / 0.5332 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.961e-05/0.4804, allocations: 28 kB / 0.5332 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007975/0.4884, allocations: 5.438 MB / 0.5385 GB, free: 9.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.4885, allocations: 48 kB / 0.5386 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.199e-05/0.4886, allocations: 101.3 kB / 0.5387 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.4887, allocations: 152 kB / 0.5388 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/0.4924, allocations: 1.225 MB / 0.54 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001491/0.4925, allocations: 196.2 kB / 0.5402 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.4952, allocations: 247.4 kB / 0.5404 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/0.4955, allocations: 282.2 kB / 0.5407 GB, free: 7.336 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002106/0.4977, allocations: 1.388 MB / 0.542 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.4981, allocations: 240.9 kB / 0.5423 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.5001, allocations: 1.238 MB / 0.5435 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.5001, allocations: 12 kB / 0.5435 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.5001, allocations: 8.219 kB / 0.5435 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5001, allocations: 4.672 kB / 0.5435 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007875/0.508, allocations: 4.564 MB / 0.548 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.5081, allocations: 11.94 kB / 0.548 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.5097, allocations: 367.3 kB / 0.5483 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.5097, allocations: 8 kB / 0.5483 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.5098, allocations: 23.98 kB / 0.5484 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.408e-05/0.5098, allocations: 11.95 kB / 0.5484 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/0.5098, allocations: 15.88 kB / 0.5484 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.5126, allocations: 2.146 MB / 0.5505 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/0.5134, allocations: 465.7 kB / 0.5509 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.5137, allocations: 24 kB / 0.5509 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.5145, allocations: 54.58 kB / 0.551 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5146, allocations: 71.81 kB / 0.5511 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.5147, allocations: 39.95 kB / 0.5511 GB, free: 12.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003002/0.5177, allocations: 1.82 MB / 0.5529 GB, free: 10.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5177, allocations: 0 / 0.5529 GB, free: 10.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00367/0.5214, allocations: 0.6249 MB / 0.5535 GB, free: 10.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003296/0.5247, allocations: 2.782 MB / 0.5562 GB, free: 7.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005492/0.5302, allocations: 3.223 MB / 0.5594 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5302, allocations: 7.938 kB / 0.5594 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5313, allocations: 0.7819 MB / 0.5601 GB, free: 3.168 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.5329, allocations: 271.4 kB / 0.5604 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03665/0.5696, allocations: 21.17 MB / 0.5811 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002422/0.5721, allocations: 2.216 MB / 0.5832 GB, free: 8.797 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003695/0.5758, allocations: 1.463 MB / 0.5847 GB, free: 7.328 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/0.5776, allocations: 1.089 MB / 0.5857 GB, free: 6.238 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5776, allocations: 0 / 0.5857 GB, free: 6.238 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/0.6553, allocations: 48.35 MB / 0.6329 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.6555, allocations: 167.4 kB / 0.6331 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/3.832, allocations: 4 kB / 0.6331 GB, free: 5.68 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat