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.001146/0.001146, allocations: 109.3 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 205.8 kB / 18.27 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 46.09 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 79.12 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1136, allocations: 62.45 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01448/0.1282, allocations: 14.38 MB / 494 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008548/0.1367, allocations: 4.436 MB / 498.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.1394, allocations: 51.88 kB / 498.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.1419, allocations: 0.7476 MB / 499.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.146, allocations: 1.207 MB / 0.4887 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1474, allocations: 499.2 kB / 0.4892 GB, free: 136 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003851/0.1513, allocations: 2.629 MB / 0.4917 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.1531, allocations: 1.307 MB / 0.493 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.1543, allocations: 0.7744 MB / 0.4938 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.1558, allocations: 1.262 MB / 0.495 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.156, allocations: 143.9 kB / 0.4951 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.1575, allocations: 0.936 MB / 0.496 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009397/0.1585, allocations: 1.028 MB / 0.497 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.1595, allocations: 1.226 MB / 0.4982 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.1632, allocations: 3.894 MB / 0.502 GB, free: 2.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1632, allocations: 0 / 0.502 GB, free: 2.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1632, allocations: 0 / 0.502 GB, free: 2.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.253e-05/0.1632, allocations: 0 / 0.502 GB, free: 2.883 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.2228/0.3861, allocations: 2.943 MB / 0.5049 GB, free: 41.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.099e-05/0.3861, allocations: 9.25 kB / 0.5049 GB, free: 41.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001092/0.3872, allocations: 462.3 kB / 0.5054 GB, free: 40.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006425/0.3937, allocations: 1.654 MB / 0.507 GB, free: 40.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/0.397, allocations: 1.538 MB / 0.5085 GB, free: 40.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.3972, allocations: 126.1 kB / 0.5086 GB, free: 40.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004496/0.3976, allocations: 159.5 kB / 0.5088 GB, free: 40.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.4078, allocations: 6.453 MB / 0.5151 GB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.062e-05/0.4079, allocations: 38.38 kB / 0.5151 GB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.4082, allocations: 79.62 kB / 0.5152 GB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002798/0.411, allocations: 1.442 MB / 0.5166 GB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.4231, allocations: 5.735 MB / 0.5222 GB, free: 34.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02525/0.4484, allocations: 26.8 MB / 0.5484 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/0.4522, allocations: 2.143 MB / 0.5504 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.4534, allocations: 1.039 MB / 0.5515 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.4536, allocations: 178.5 kB / 0.5516 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.4536, allocations: 42.88 kB / 0.5517 GB, free: 5.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 4.318e-06/0.4536, allocations: 0 / 0.5517 GB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01405/0.4677, allocations: 6.369 MB / 0.5579 GB, free: 15.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.4678, allocations: 141 kB / 0.558 GB, free: 14.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/0.4718, allocations: 2.889 MB / 0.5608 GB, free: 12.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.4719, allocations: 37.7 kB / 0.5609 GB, free: 11.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.4733, allocations: 2.11 MB / 0.5629 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/0.4737, allocations: 458.3 kB / 0.5634 GB, free: 9.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.4748, allocations: 0.8849 MB / 0.5642 GB, free: 8.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4749, allocations: 309.1 kB / 0.5645 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.477, allocations: 1.414 MB / 0.5659 GB, free: 6.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/0.4808, allocations: 4.291 MB / 0.5701 GB, free: 1.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006305/0.4872, allocations: 6.201 MB / 0.5762 GB, free: 9.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.309e-05/0.4872, allocations: 28 kB / 0.5762 GB, free: 9.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007952/0.4952, allocations: 5.478 MB / 0.5815 GB, free: 3.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.4953, allocations: 48 kB / 0.5816 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.4954, allocations: 103.6 kB / 0.5817 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.4955, allocations: 136 kB / 0.5818 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003813/0.4994, allocations: 1.225 MB / 0.583 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/0.4995, allocations: 200.2 kB / 0.5832 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.502, allocations: 243.5 kB / 0.5834 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/0.5023, allocations: 287.8 kB / 0.5837 GB, free: 1.66 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.001841/0.5042, allocations: 1.382 MB / 0.5851 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/0.5046, allocations: 240.9 kB / 0.5853 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.5066, allocations: 1.243 MB / 0.5865 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.5067, allocations: 12 kB / 0.5865 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.5067, allocations: 0 / 0.5865 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.5067, allocations: 7.984 kB / 0.5865 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007716/0.5144, allocations: 4.559 MB / 0.591 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5144, allocations: 4 kB / 0.591 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.5162, allocations: 371.9 kB / 0.5913 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.5162, allocations: 8 kB / 0.5913 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.912e-05/0.5163, allocations: 27.94 kB / 0.5914 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.5164, allocations: 8 kB / 0.5914 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5164, allocations: 7.938 kB / 0.5914 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.519, allocations: 2.162 MB / 0.5935 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.5196, allocations: 301.8 kB / 0.5938 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/0.5199, allocations: 24 kB / 0.5938 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.521, allocations: 58.48 kB / 0.5939 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.5211, allocations: 71.73 kB / 0.5939 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/0.5212, allocations: 36 kB / 0.594 GB, free: 6.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002843/0.5241, allocations: 1.823 MB / 0.5957 GB, free: 5.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5241, allocations: 288 / 0.5957 GB, free: 5.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00313/0.5272, allocations: 0.6107 MB / 0.5963 GB, free: 4.512 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.003316/0.5306, allocations: 2.791 MB / 0.5991 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00588/0.5365, allocations: 3.465 MB / 0.6025 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.5365, allocations: 4.25 kB / 0.6025 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5376, allocations: 0.7958 MB / 0.6032 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.5403, allocations: 274.8 kB / 0.6035 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04991/0.5902, allocations: 33.38 MB / 0.6361 GB, free: 6.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002529/0.5928, allocations: 2.206 MB / 0.6382 GB, free: 4.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003571/0.5964, allocations: 1.455 MB / 0.6397 GB, free: 2.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/0.5983, allocations: 1.081 MB / 0.6407 GB, free: 1.637 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5983, allocations: 3.938 kB / 0.6407 GB, free: 1.633 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07154/0.6698, allocations: 44.05 MB / 0.6837 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/0.6701, allocations: 181.3 kB / 0.6839 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/3.865, allocations: 3.938 kB / 0.6839 GB, free: 5.512 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