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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 111.7 kB / 19.69 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 217.2 kB / 23 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 63.91 kB / 467.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1359, allocations: 61.04 MB / 0.5161 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01043/0.1464, allocations: 7.583 MB / 0.5235 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007138/0.1535, allocations: 3.392 MB / 0.5268 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.1546, allocations: 39.81 kB / 0.5269 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.1567, allocations: 0.817 MB / 0.5277 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.1605, allocations: 1.347 MB / 0.529 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.1621, allocations: 0.5302 MB / 0.5295 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004046/0.1662, allocations: 2.578 MB / 0.532 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.168, allocations: 1.17 MB / 0.5332 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.1694, allocations: 0.794 MB / 0.5339 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.1713, allocations: 1.238 MB / 0.5351 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005494/0.1719, allocations: 140 kB / 0.5353 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.174, allocations: 0.975 MB / 0.5362 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.1754, allocations: 1.048 MB / 0.5373 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.1776, allocations: 1.234 MB / 0.5385 GB, free: 396 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2765/0.4541, allocations: 4.089 MB / 0.5425 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.4541, allocations: 1.203 kB / 0.5425 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4541, allocations: 3.688 kB / 0.5425 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.4543, allocations: 0 / 0.5425 GB, free: 14.12 MB / 414.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.00787/0.4621, allocations: 2.982 MB / 0.5454 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4622, allocations: 10.19 kB / 0.5454 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007273/0.4629, allocations: 462.7 kB / 0.5458 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006415/0.4693, allocations: 1.675 MB / 0.5475 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.4738, allocations: 1.752 MB / 0.5492 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.4739, allocations: 126 kB / 0.5493 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005126/0.4744, allocations: 159.3 kB / 0.5494 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.4879, allocations: 6.46 MB / 0.5558 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.488, allocations: 33.39 kB / 0.5558 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.4883, allocations: 86.03 kB / 0.5559 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/0.4911, allocations: 1.439 MB / 0.5573 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01166/0.5028, allocations: 5.732 MB / 0.5629 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03585/0.5386, allocations: 26.67 MB / 0.5889 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.543, allocations: 1.61 MB / 0.5905 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.5444, allocations: 0.9662 MB / 0.5914 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.5445, allocations: 26.97 kB / 0.5915 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.5446, allocations: 39.36 kB / 0.5915 GB, free: 2.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.707e-06/0.5446, allocations: 4.75 kB / 0.5915 GB, free: 2.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.01777/0.5623, allocations: 6.571 MB / 0.5979 GB, free: 13.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.5625, allocations: 140.9 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004976/0.5674, allocations: 2.923 MB / 0.6009 GB, free: 10.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/0.5678, allocations: 37.7 kB / 0.6009 GB, free: 10.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.5697, allocations: 2.194 MB / 0.6031 GB, free: 8.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008045/0.5705, allocations: 482.1 kB / 0.6035 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.5721, allocations: 0.9066 MB / 0.6044 GB, free: 7.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.5723, allocations: 301.1 kB / 0.6047 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.5748, allocations: 1.414 MB / 0.6061 GB, free: 5.551 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/0.5799, allocations: 4.292 MB / 0.6103 GB, free: 15.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009014/0.5889, allocations: 6.182 MB / 0.6163 GB, free: 8.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-05/0.589, allocations: 28 kB / 0.6163 GB, free: 8.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01213/0.6011, allocations: 5.507 MB / 0.6217 GB, free: 3.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.6013, allocations: 48 kB / 0.6218 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002021/0.6015, allocations: 110.4 kB / 0.6219 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.6016, allocations: 134 kB / 0.622 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004893/0.6065, allocations: 1.22 MB / 0.6232 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002524/0.6068, allocations: 207.2 kB / 0.6234 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/0.6109, allocations: 239.7 kB / 0.6236 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/0.6119, allocations: 280 kB / 0.6239 GB, free: 1.016 MB / 462.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.003937/0.6158, allocations: 1.385 MB / 0.6252 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007921/0.6166, allocations: 258.3 kB / 0.6255 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.6194, allocations: 1.244 MB / 0.6267 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.554e-05/0.6195, allocations: 12 kB / 0.6267 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.6195, allocations: 3.938 kB / 0.6267 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.6195, allocations: 7.969 kB / 0.6267 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.6316, allocations: 4.537 MB / 0.6312 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/0.6316, allocations: 4 kB / 0.6312 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/0.6335, allocations: 368.2 kB / 0.6315 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.146e-05/0.6336, allocations: 8 kB / 0.6315 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.6337, allocations: 20 kB / 0.6315 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-05/0.6337, allocations: 11.94 kB / 0.6316 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.6337, allocations: 8.312 kB / 0.6316 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.6373, allocations: 2.18 MB / 0.6337 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.6388, allocations: 402 kB / 0.6341 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006103/0.6394, allocations: 16 kB / 0.6341 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.6407, allocations: 62.89 kB / 0.6341 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.6408, allocations: 71.77 kB / 0.6342 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.862e-05/0.6409, allocations: 40 kB / 0.6343 GB, free: 6.238 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00436/0.6453, allocations: 1.827 MB / 0.636 GB, free: 4.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6453, allocations: 288 / 0.636 GB, free: 4.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0051/0.6504, allocations: 0.6249 MB / 0.6366 GB, free: 3.781 MB / 478.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.004579/0.655, allocations: 2.813 MB / 0.6394 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006273/0.6612, allocations: 3.144 MB / 0.6425 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.6612, allocations: 4 kB / 0.6425 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.6625, allocations: 0.7282 MB / 0.6432 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.665, allocations: 281 kB / 0.6434 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06107/0.7261, allocations: 29.92 MB / 0.6727 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003925/0.73, allocations: 2.213 MB / 0.6748 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004214/0.7342, allocations: 1.458 MB / 0.6762 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002523/0.7368, allocations: 1.081 MB / 0.6773 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/0.7368, allocations: 0 / 0.6773 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/0.8418, allocations: 45.36 MB / 0.7216 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.93/20.78, allocations: 10.62 kB / 0.7216 GB, free: 8.742 MB / 0.5606 GB " [Timeout remaining time 639] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 23.941485553979874]