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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.96 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 83.88 kB / 0.4969 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3235, allocations: 66.08 MB / 0.5614 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009087/0.3326, allocations: 6.645 MB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.3392, allocations: 3.151 MB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006867/0.3399, allocations: 47.81 kB / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.3416, allocations: 0.7897 MB / 0.5718 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.3446, allocations: 1.327 MB / 0.5731 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.3458, allocations: 0.5262 MB / 0.5736 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00335/0.3491, allocations: 2.602 MB / 0.5761 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.3507, allocations: 1.162 MB / 0.5773 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.3517, allocations: 0.7822 MB / 0.578 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.3533, allocations: 1.23 MB / 0.5792 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.3536, allocations: 140 kB / 0.5794 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.3553, allocations: 0.8384 MB / 0.5802 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.3563, allocations: 1.032 MB / 0.5812 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.3574, allocations: 0.869 MB / 0.5821 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.3626, allocations: 4.046 MB / 0.586 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3626, allocations: 0 / 0.586 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3626, allocations: 0 / 0.586 GB, free: 10.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.11e-05/0.3627, allocations: 3.938 kB / 0.586 GB, free: 10.78 MB / 430.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.005688/0.3684, allocations: 2.955 MB / 0.5889 GB, free: 7.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3684, allocations: 12.03 kB / 0.5889 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.163e-05/0.3685, allocations: 59.31 kB / 0.589 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000531/0.369, allocations: 462.5 kB / 0.5894 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.375, allocations: 1.672 MB / 0.591 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.3782, allocations: 1.497 MB / 0.5925 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.3783, allocations: 131.1 kB / 0.5926 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004641/0.3787, allocations: 159.8 kB / 0.5928 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.3891, allocations: 6.453 MB / 0.5991 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.3892, allocations: 35.73 kB / 0.5991 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/0.3894, allocations: 83.89 kB / 0.5992 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/0.392, allocations: 1.441 MB / 0.6006 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.4025, allocations: 5.728 MB / 0.6062 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03226/0.4347, allocations: 25.79 MB / 0.6314 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004254/0.439, allocations: 1.613 MB / 0.633 GB, free: 9.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4404, allocations: 0.9586 MB / 0.6339 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.4405, allocations: 20.31 kB / 0.6339 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.4405, allocations: 50.81 kB / 0.634 GB, free: 8.137 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.828e-06/0.4406, allocations: 4 kB / 0.634 GB, free: 8.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01626/0.4568, allocations: 6.544 MB / 0.6403 GB, free: 1.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4569, allocations: 141 kB / 0.6405 GB, free: 1.402 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004411/0.4613, allocations: 2.89 MB / 0.6433 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.4616, allocations: 41.7 kB / 0.6433 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.4634, allocations: 2.194 MB / 0.6455 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006604/0.464, allocations: 476.5 kB / 0.6459 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.4653, allocations: 0.8973 MB / 0.6468 GB, free: 10.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4655, allocations: 317 kB / 0.6471 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.4678, allocations: 1.414 MB / 0.6485 GB, free: 9.125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004934/0.4727, allocations: 4.287 MB / 0.6527 GB, free: 3.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008097/0.4808, allocations: 6.194 MB / 0.6587 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.158e-05/0.4809, allocations: 28 kB / 0.6588 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009965/0.4909, allocations: 5.493 MB / 0.6641 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/0.491, allocations: 48 kB / 0.6642 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.4911, allocations: 104.9 kB / 0.6643 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.4912, allocations: 135.9 kB / 0.6644 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/0.4954, allocations: 1.228 MB / 0.6656 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001703/0.4956, allocations: 199.5 kB / 0.6658 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.4984, allocations: 243.6 kB / 0.666 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/0.4989, allocations: 284 kB / 0.6663 GB, free: 4.008 MB / 0.4981 GB 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.002216/0.5011, allocations: 1.387 MB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/0.5016, allocations: 250.3 kB / 0.6679 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.5037, allocations: 1.245 MB / 0.6691 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.5038, allocations: 15.94 kB / 0.6691 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5038, allocations: 3.984 kB / 0.6691 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.5038, allocations: 7.984 kB / 0.6691 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007854/0.5117, allocations: 4.328 MB / 0.6734 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.5117, allocations: 4 kB / 0.6734 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/0.5135, allocations: 371.3 kB / 0.6737 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.5135, allocations: 8 kB / 0.6737 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.665e-05/0.5136, allocations: 23.98 kB / 0.6737 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.5136, allocations: 8 kB / 0.6738 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5136, allocations: 7.938 kB / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.5165, allocations: 2.176 MB / 0.6759 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.517, allocations: 246.1 kB / 0.6761 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.5173, allocations: 31.98 kB / 0.6762 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/0.5182, allocations: 55.92 kB / 0.6762 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.5184, allocations: 75.7 kB / 0.6763 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/0.5185, allocations: 32 kB / 0.6763 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002842/0.5213, allocations: 1.823 MB / 0.6781 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5213, allocations: 4 kB / 0.6781 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00308/0.5244, allocations: 0.6132 MB / 0.6787 GB, free: 7.113 MB / 0.5137 GB 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.003449/0.5278, allocations: 2.789 MB / 0.6814 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005624/0.5334, allocations: 3.145 MB / 0.6845 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.5335, allocations: 0 / 0.6845 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.5347, allocations: 0.7437 MB / 0.6852 GB, free: 384 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.537, allocations: 271.8 kB / 0.6855 GB, free: 116 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04793/0.585, allocations: 29.81 MB / 0.7146 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/0.5871, allocations: 1.635 MB / 0.7162 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003413/0.5905, allocations: 1.463 MB / 0.7176 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/0.5922, allocations: 1.073 MB / 0.7187 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.203e-06/0.5922, allocations: 4 kB / 0.7187 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3204/0.9126, allocations: 42.93 MB / 0.7606 GB, free: 137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.23/21.15, allocations: 18.75 kB / 0.7606 GB, free: 137 MB / 0.5606 GB " [Timeout remaining time 639] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.678422923083417]