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.0009832/0.0009833, allocations: 106.1 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 195.3 kB / 16.91 MB, free: 6.191 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.418/1.418, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.3459/0.3459, allocations: 43.49 MB / 313.6 MB, free: 8.273 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.001433/0.001433, allocations: 71.89 kB / 382.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 57.79 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.2768/0.3972, allocations: 14.48 MB / 454.6 MB, free: 37.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009055/0.4063, allocations: 4.438 MB / 459 MB, free: 37.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.4094, allocations: 54.75 kB / 459.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.4113, allocations: 0.7482 MB / 459.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.4147, allocations: 1.235 MB / 461 MB, free: 37.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.4161, allocations: 0.5003 MB / 461.5 MB, free: 37.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.4196, allocations: 2.597 MB / 464.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.4213, allocations: 1.316 MB / 465.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.4225, allocations: 0.7825 MB / 466.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.4239, allocations: 1.271 MB / 467.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.4242, allocations: 139.5 kB / 467.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.4258, allocations: 0.9562 MB / 468.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008291/0.4267, allocations: 1.043 MB / 469.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009155/0.4276, allocations: 1.254 MB / 470.9 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.4314, allocations: 3.943 MB / 474.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4314, allocations: 0 / 474.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4314, allocations: 3.281 kB / 474.9 MB, free: 33.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.156e-05/0.4315, allocations: 0 / 474.9 MB, free: 33.39 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.005075/0.4366, allocations: 2.978 MB / 477.8 MB, free: 31.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4366, allocations: 13.73 kB / 477.8 MB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004872/0.4371, allocations: 458.3 kB / 478.3 MB, free: 31.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005583/0.4427, allocations: 1.662 MB / 480 MB, free: 31.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.4463, allocations: 1.785 MB / 481.7 MB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.4465, allocations: 126 kB / 481.9 MB, free: 30.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/0.447, allocations: 166.3 kB / 482 MB, free: 30.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.4586, allocations: 6.457 MB / 488.5 MB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.19e-05/0.4588, allocations: 29.34 kB / 488.5 MB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/0.459, allocations: 85.62 kB / 488.6 MB, free: 27.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002767/0.4618, allocations: 1.431 MB / 490 MB, free: 26.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.4742, allocations: 5.733 MB / 495.8 MB, free: 25.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03273/0.5069, allocations: 26.82 MB / 0.5103 GB, free: 20.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/0.5113, allocations: 2.131 MB / 0.5124 GB, free: 18.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.5131, allocations: 1.059 MB / 0.5134 GB, free: 18.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.5134, allocations: 184.8 kB / 0.5136 GB, free: 17.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.5135, allocations: 39.58 kB / 0.5137 GB, free: 17.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 6.542e-06/0.5135, allocations: 0 / 0.5137 GB, free: 17.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01765/0.5312, allocations: 6.42 MB / 0.5199 GB, free: 11.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.5313, allocations: 148.8 kB / 0.5201 GB, free: 11.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/0.5354, allocations: 2.91 MB / 0.5229 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.5356, allocations: 37.7 kB / 0.5229 GB, free: 8.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.5369, allocations: 2.106 MB / 0.525 GB, free: 6.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004792/0.5374, allocations: 461 kB / 0.5254 GB, free: 5.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.5385, allocations: 0.8927 MB / 0.5263 GB, free: 4.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5387, allocations: 305.1 kB / 0.5266 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.5407, allocations: 1.414 MB / 0.528 GB, free: 3.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/0.5446, allocations: 4.287 MB / 0.5322 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/0.5519, allocations: 6.203 MB / 0.5382 GB, free: 5.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.5521, allocations: 28 kB / 0.5383 GB, free: 5.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01021/0.5623, allocations: 5.489 MB / 0.5436 GB, free: 308 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.5624, allocations: 48 kB / 0.5437 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.826e-05/0.5625, allocations: 104 kB / 0.5438 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.5627, allocations: 132 kB / 0.5439 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/0.5667, allocations: 1.225 MB / 0.5451 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001661/0.5669, allocations: 212.9 kB / 0.5453 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.57, allocations: 238.1 kB / 0.5455 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004843/0.5704, allocations: 280 kB / 0.5458 GB, free: 14.09 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002282/0.5727, allocations: 1.385 MB / 0.5471 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006059/0.5734, allocations: 240.8 kB / 0.5474 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.5756, allocations: 1.242 MB / 0.5486 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.5757, allocations: 19.12 kB / 0.5486 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5757, allocations: 3.938 kB / 0.5486 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5757, allocations: 3.984 kB / 0.5486 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007882/0.5836, allocations: 4.568 MB / 0.5531 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.5836, allocations: 8 kB / 0.5531 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.5853, allocations: 367.9 kB / 0.5534 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.5854, allocations: 12 kB / 0.5534 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.5854, allocations: 20 kB / 0.5535 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.5855, allocations: 15.92 kB / 0.5535 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5855, allocations: 4 kB / 0.5535 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.5881, allocations: 2.164 MB / 0.5556 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/0.5889, allocations: 465.6 kB / 0.556 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.5892, allocations: 19.98 kB / 0.5561 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.5901, allocations: 63.88 kB / 0.5561 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.5902, allocations: 67.8 kB / 0.5562 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.5903, allocations: 43.03 kB / 0.5562 GB, free: 3.207 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002634/0.593, allocations: 1.835 MB / 0.558 GB, free: 1.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.593, allocations: 0 / 0.558 GB, free: 1.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003536/0.5965, allocations: 0.6249 MB / 0.5586 GB, free: 0.7422 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003085/0.5996, allocations: 2.801 MB / 0.5614 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005648/0.6053, allocations: 3.454 MB / 0.5647 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.465e-06/0.6053, allocations: 0.75 kB / 0.5647 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.6064, allocations: 0.7926 MB / 0.5655 GB, free: 9.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.6084, allocations: 268.2 kB / 0.5658 GB, free: 9.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04831/0.6567, allocations: 33.56 MB / 0.5985 GB, free: 2.441 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.6591, allocations: 2.21 MB / 0.6007 GB, free: 208 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003651/0.6628, allocations: 1.465 MB / 0.6021 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/0.6647, allocations: 1.085 MB / 0.6032 GB, free: 13.65 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6647, allocations: 0 / 0.6032 GB, free: 13.65 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2692/0.9339, allocations: 44.25 MB / 0.6464 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.9342, allocations: 187.6 kB / 0.6466 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/4.125, allocations: 0 / 0.6466 GB, free: 155.9 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/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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches