Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002093/0.002093, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002339/0.002339, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 75.67 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1193, allocations: 62.45 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01619/0.1355, allocations: 14.38 MB / 493.8 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009975/0.1455, allocations: 4.537 MB / 498.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.1479, allocations: 55.88 kB / 498.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.1502, allocations: 0.771 MB / 499.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.1539, allocations: 1.199 MB / 0.4886 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1552, allocations: 491.2 kB / 0.4891 GB, free: 152 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004144/0.1593, allocations: 3.495 MB / 0.4925 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.1612, allocations: 1.201 MB / 0.4937 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.1626, allocations: 0.6768 MB / 0.4943 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.1644, allocations: 1.203 MB / 0.4955 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004925/0.1649, allocations: 104 kB / 0.4956 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.1668, allocations: 0.9476 MB / 0.4965 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.1681, allocations: 0.9893 MB / 0.4975 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.1699, allocations: 1.187 MB / 0.4986 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004555/0.1745, allocations: 3.824 MB / 0.5024 GB, free: 2.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1745, allocations: 0 / 0.5024 GB, free: 2.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1745, allocations: 0 / 0.5024 GB, free: 2.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.1746, allocations: 0 / 0.5024 GB, free: 2.473 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.2553/0.4299, allocations: 2.94 MB / 0.5052 GB, free: 41.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.43, allocations: 9.938 kB / 0.5053 GB, free: 41.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001477/0.4315, allocations: 463.3 kB / 0.5057 GB, free: 41.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007243/0.4387, allocations: 1.653 MB / 0.5073 GB, free: 40.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/0.4431, allocations: 1.54 MB / 0.5088 GB, free: 40.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.4433, allocations: 123.1 kB / 0.5089 GB, free: 40.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000863/0.4442, allocations: 160 kB / 0.5091 GB, free: 40.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.4549, allocations: 6.463 MB / 0.5154 GB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/0.455, allocations: 29.59 kB / 0.5154 GB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/0.4553, allocations: 84.55 kB / 0.5155 GB, free: 36.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002683/0.458, allocations: 1.439 MB / 0.5169 GB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.4688, allocations: 5.729 MB / 0.5225 GB, free: 34.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.4984, allocations: 26.8 MB / 0.5487 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.5026, allocations: 2.144 MB / 0.5508 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.5039, allocations: 1.035 MB / 0.5518 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.5041, allocations: 182.5 kB / 0.5519 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5042, allocations: 42.83 kB / 0.552 GB, free: 5.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.837e-06/0.5042, allocations: 0 / 0.552 GB, free: 5.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.0154/0.5196, allocations: 6.365 MB / 0.5582 GB, free: 14.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.5197, allocations: 145 kB / 0.5583 GB, free: 14.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/0.5247, allocations: 2.889 MB / 0.5612 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.5249, allocations: 49.62 kB / 0.5612 GB, free: 11.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.5266, allocations: 2.102 MB / 0.5633 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006149/0.5272, allocations: 454.4 kB / 0.5637 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.5287, allocations: 0.8887 MB / 0.5646 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.5288, allocations: 317 kB / 0.5649 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.5311, allocations: 1.414 MB / 0.5663 GB, free: 6.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004792/0.5359, allocations: 4.287 MB / 0.5704 GB, free: 0.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007779/0.5437, allocations: 6.194 MB / 0.5765 GB, free: 9.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.5439, allocations: 28 kB / 0.5765 GB, free: 9.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009876/0.5538, allocations: 5.484 MB / 0.5819 GB, free: 3.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/0.5539, allocations: 48 kB / 0.5819 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.554, allocations: 100 kB / 0.582 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.5542, allocations: 136 kB / 0.5821 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/0.5581, allocations: 1.22 MB / 0.5833 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001758/0.5583, allocations: 203.6 kB / 0.5835 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/0.5611, allocations: 242.3 kB / 0.5838 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000525/0.5616, allocations: 283.9 kB / 0.584 GB, free: 1.312 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002214/0.5639, allocations: 1.384 MB / 0.5854 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/0.5643, allocations: 236.8 kB / 0.5856 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.5664, allocations: 1.242 MB / 0.5868 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.5664, allocations: 19.94 kB / 0.5868 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5664, allocations: 0 / 0.5868 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.5664, allocations: 3.984 kB / 0.5868 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007724/0.5742, allocations: 4.558 MB / 0.5913 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.5742, allocations: 8 kB / 0.5913 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.5759, allocations: 367.8 kB / 0.5916 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.5759, allocations: 8 kB / 0.5917 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.576, allocations: 31.97 kB / 0.5917 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.591e-05/0.576, allocations: 10.03 kB / 0.5917 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5761, allocations: 7.938 kB / 0.5917 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.5788, allocations: 2.161 MB / 0.5938 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/0.5795, allocations: 305.8 kB / 0.5941 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.58, allocations: 20 kB / 0.5941 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.5811, allocations: 63.92 kB / 0.5942 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.5813, allocations: 67.8 kB / 0.5943 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-05/0.5814, allocations: 32 kB / 0.5943 GB, free: 6.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003294/0.5847, allocations: 1.815 MB / 0.5961 GB, free: 4.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5847, allocations: 4.281 kB / 0.5961 GB, free: 4.773 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003683/0.5884, allocations: 0.6222 MB / 0.5967 GB, free: 4.156 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.00341/0.5919, allocations: 2.788 MB / 0.5994 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005274/0.5972, allocations: 3.248 MB / 0.6026 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.5972, allocations: 0 / 0.6026 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.5983, allocations: 0.7929 MB / 0.6033 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.6003, allocations: 258.7 kB / 0.6036 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04855/0.6489, allocations: 33.38 MB / 0.6362 GB, free: 6.285 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/0.6514, allocations: 2.21 MB / 0.6383 GB, free: 4.039 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003448/0.6548, allocations: 1.459 MB / 0.6398 GB, free: 2.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/0.6564, allocations: 1.081 MB / 0.6408 GB, free: 1.492 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6565, allocations: 0 / 0.6408 GB, free: 1.492 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08888/0.7454, allocations: 43.23 MB / 0.683 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003261/0.7457, allocations: 184.3 kB / 0.6832 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/4.07, allocations: 0 / 0.6832 GB, free: 6.168 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches