Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_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.001157/0.001157, allocations: 107.5 kB / 17.21 MB, free: 6.289 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.001182/0.001182, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241.8 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.64 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1044, allocations: 60.83 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01482/0.1193, allocations: 14.46 MB / 483.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1294, allocations: 4.549 MB / 487.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.132, allocations: 59.81 kB / 487.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.134, allocations: 0.7593 MB / 488.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.1375, allocations: 1.23 MB / 489.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1389, allocations: 487.2 kB / 490.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00472/0.1436, allocations: 3.466 MB / 493.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.1461, allocations: 1.213 MB / 494.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.1475, allocations: 0.6808 MB / 495.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.1494, allocations: 1.215 MB / 496.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004782/0.1499, allocations: 96 kB / 496.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.1518, allocations: 0.9632 MB / 497.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.1532, allocations: 1.001 MB / 498.8 MB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.1552, allocations: 1.203 MB / 500 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.1596, allocations: 3.874 MB / 0.492 GB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1597, allocations: 0 / 0.492 GB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1597, allocations: 0 / 0.492 GB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00012/0.1598, allocations: 0 / 0.492 GB, free: 11.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.006258/0.1661, allocations: 2.968 MB / 0.4949 GB, free: 8.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1661, allocations: 8.031 kB / 0.495 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008732/0.167, allocations: 458.5 kB / 0.4954 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006007/0.173, allocations: 1.662 MB / 0.497 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.176, allocations: 1.636 MB / 0.4986 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1762, allocations: 123.4 kB / 0.4987 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.1767, allocations: 159.8 kB / 0.4989 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2169/0.3936, allocations: 6.456 MB / 0.5052 GB, free: 46.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.3938, allocations: 31.77 kB / 0.5052 GB, free: 46.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004537/0.3942, allocations: 83.8 kB / 0.5053 GB, free: 46.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002791/0.397, allocations: 1.448 MB / 0.5067 GB, free: 46.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.4086, allocations: 5.724 MB / 0.5123 GB, free: 44.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/0.4382, allocations: 26.8 MB / 0.5385 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/0.4422, allocations: 2.143 MB / 0.5406 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.4434, allocations: 1.036 MB / 0.5416 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.4436, allocations: 181.9 kB / 0.5418 GB, free: 21.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.4437, allocations: 42.83 kB / 0.5418 GB, free: 21.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.446e-06/0.4437, allocations: 4 kB / 0.5418 GB, free: 21.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01444/0.4581, allocations: 6.378 MB / 0.548 GB, free: 15.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4582, allocations: 137 kB / 0.5482 GB, free: 14.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.4613, allocations: 2.898 MB / 0.551 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.847e-05/0.4614, allocations: 45.61 kB / 0.551 GB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007874/0.4622, allocations: 2.109 MB / 0.5531 GB, free: 9.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.4624, allocations: 453.2 kB / 0.5535 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007945/0.4632, allocations: 0.8965 MB / 0.5544 GB, free: 8.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.523e-05/0.4633, allocations: 301.1 kB / 0.5547 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.4649, allocations: 1.414 MB / 0.5561 GB, free: 6.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.4675, allocations: 4.291 MB / 0.5603 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006615/0.4742, allocations: 6.194 MB / 0.5663 GB, free: 9.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.967e-05/0.4743, allocations: 28 kB / 0.5663 GB, free: 9.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008962/0.4832, allocations: 5.484 MB / 0.5717 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.4833, allocations: 49 kB / 0.5717 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002394/0.4836, allocations: 108 kB / 0.5718 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.4838, allocations: 139.9 kB / 0.572 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/0.4879, allocations: 1.224 MB / 0.5732 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002308/0.4882, allocations: 199.2 kB / 0.5734 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00334/0.4916, allocations: 243.5 kB / 0.5736 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006233/0.4922, allocations: 280.8 kB / 0.5739 GB, free: 1.609 MB / 398.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.002688/0.4949, allocations: 1.38 MB / 0.5752 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007432/0.4956, allocations: 241 kB / 0.5754 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.498, allocations: 1.236 MB / 0.5766 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/0.498, allocations: 19.94 kB / 0.5767 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.498, allocations: 0 / 0.5767 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.4981, allocations: 3.984 kB / 0.5767 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009278/0.5073, allocations: 4.565 MB / 0.5811 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.5074, allocations: 12.09 kB / 0.5811 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.5092, allocations: 371.3 kB / 0.5815 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/0.5092, allocations: 8 kB / 0.5815 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.5093, allocations: 20 kB / 0.5815 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.5094, allocations: 11.94 kB / 0.5815 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.5094, allocations: 4 kB / 0.5815 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/0.5124, allocations: 2.169 MB / 0.5836 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008071/0.5133, allocations: 305.8 kB / 0.5839 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005489/0.5138, allocations: 32.2 kB / 0.584 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.5151, allocations: 51.92 kB / 0.584 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.5153, allocations: 75.8 kB / 0.5841 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5154, allocations: 35.94 kB / 0.5841 GB, free: 6.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003921/0.5193, allocations: 1.827 MB / 0.5859 GB, free: 5.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.5194, allocations: 0 / 0.5859 GB, free: 5.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004695/0.5241, allocations: 0.6302 MB / 0.5865 GB, free: 4.414 MB / 414.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.003831/0.5279, allocations: 2.791 MB / 0.5892 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005739/0.5337, allocations: 3.24 MB / 0.5924 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.5337, allocations: 0 / 0.5924 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.5349, allocations: 0.7897 MB / 0.5932 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.5373, allocations: 266.9 kB / 0.5934 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05897/0.5963, allocations: 33.42 MB / 0.6261 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002947/0.5993, allocations: 2.21 MB / 0.6282 GB, free: 4.258 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003936/0.6032, allocations: 1.47 MB / 0.6297 GB, free: 2.785 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/0.6052, allocations: 1.077 MB / 0.6307 GB, free: 1.711 MB / 462.1 MB Notification: Performance of SimCode: time 2.104e-06/0.6052, allocations: 0 / 0.6307 GB, free: 1.711 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07588/0.6811, allocations: 43.31 MB / 0.673 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.6814, allocations: 185.4 kB / 0.6732 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.225/3.906, allocations: 11.92 kB / 0.6732 GB, free: 6.359 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches