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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 188.3 kB / 22.98 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.655/1.655, allocations: 207.6 MB / 233.7 MB, free: 10 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.2401/0.2401, allocations: 44.24 MB / 330.2 MB, free: 9.551 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.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: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 78.84 kB / 467.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1523, allocations: 61.03 MB / 0.5166 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01243/0.1647, allocations: 7.572 MB / 0.524 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008199/0.1729, allocations: 3.385 MB / 0.5273 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.1745, allocations: 39.81 kB / 0.5273 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.1768, allocations: 0.8248 MB / 0.5281 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004222/0.1811, allocations: 1.347 MB / 0.5294 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1827, allocations: 0.5378 MB / 0.53 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004955/0.1877, allocations: 2.574 MB / 0.5325 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.19, allocations: 1.023 MB / 0.5335 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.1917, allocations: 0.7978 MB / 0.5342 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.1943, allocations: 1.242 MB / 0.5355 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000701/0.195, allocations: 140 kB / 0.5356 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.1975, allocations: 0.9711 MB / 0.5365 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.1991, allocations: 1.044 MB / 0.5376 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00247/0.2015, allocations: 1.227 MB / 0.5388 GB, free: 60 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3023/0.5038, allocations: 4.079 MB / 0.5427 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.5038, allocations: 0 / 0.5427 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5038, allocations: 0 / 0.5427 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.5039, allocations: 1.219 kB / 0.5427 GB, free: 13.36 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.008622/0.5125, allocations: 2.963 MB / 0.5456 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.5126, allocations: 8.859 kB / 0.5456 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007913/0.5205, allocations: 1.665 MB / 0.5473 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.5254, allocations: 1.348 MB / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.5256, allocations: 124.5 kB / 0.5487 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009155/0.5265, allocations: 159.5 kB / 0.5489 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.5397, allocations: 6.459 MB / 0.5552 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.038e-05/0.5398, allocations: 40.45 kB / 0.5552 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.54, allocations: 78.52 kB / 0.5553 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00318/0.5432, allocations: 1.44 MB / 0.5567 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.5571, allocations: 5.734 MB / 0.5623 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0442/0.6013, allocations: 26.66 MB / 0.5883 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005263/0.6066, allocations: 1.615 MB / 0.5899 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.6082, allocations: 0.958 MB / 0.5908 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.6083, allocations: 32.48 kB / 0.5909 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.6084, allocations: 41.67 kB / 0.5909 GB, free: 2.281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 4.218e-06/0.6084, allocations: 0 / 0.5909 GB, free: 2.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.01926/0.6276, allocations: 6.526 MB / 0.5973 GB, free: 14.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.6278, allocations: 147.1 kB / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006029/0.6338, allocations: 2.914 MB / 0.6003 GB, free: 11.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004696/0.6343, allocations: 41.7 kB / 0.6003 GB, free: 11.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00236/0.6366, allocations: 2.189 MB / 0.6024 GB, free: 9.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009527/0.6376, allocations: 475.5 kB / 0.6029 GB, free: 8.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.6392, allocations: 0.909 MB / 0.6038 GB, free: 7.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.6394, allocations: 301.1 kB / 0.6041 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.6424, allocations: 1.427 MB / 0.6055 GB, free: 6.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005815/0.6482, allocations: 4.301 MB / 0.6097 GB, free: 420 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009576/0.6578, allocations: 6.205 MB / 0.6157 GB, free: 9.191 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-05/0.6579, allocations: 28 kB / 0.6157 GB, free: 9.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01415/0.672, allocations: 5.522 MB / 0.6211 GB, free: 3.746 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.141e-05/0.6721, allocations: 48 kB / 0.6212 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001818/0.6723, allocations: 104 kB / 0.6213 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.6725, allocations: 132.8 kB / 0.6214 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/0.6777, allocations: 1.232 MB / 0.6226 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002259/0.6779, allocations: 199.2 kB / 0.6228 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/0.682, allocations: 239.7 kB / 0.623 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007013/0.6827, allocations: 284 kB / 0.6233 GB, free: 1.527 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 (557): * Single equations (assignments): 554 * 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.003058/0.6857, allocations: 1.397 MB / 0.6247 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/0.6864, allocations: 254.5 kB / 0.6249 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.6888, allocations: 1.238 MB / 0.6261 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/0.6889, allocations: 12 kB / 0.6261 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.6889, allocations: 3.75 kB / 0.6261 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.6889, allocations: 7.984 kB / 0.6261 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.6994, allocations: 4.534 MB / 0.6306 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.6995, allocations: 7.938 kB / 0.6306 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/0.7015, allocations: 367.3 kB / 0.6309 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/0.7015, allocations: 8 kB / 0.6309 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.392e-05/0.7016, allocations: 24 kB / 0.631 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/0.7016, allocations: 8 kB / 0.631 GB, free: 9.586 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.7017, allocations: 8.219 kB / 0.631 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.705, allocations: 2.179 MB / 0.6331 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.7065, allocations: 399 kB / 0.6335 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.7068, allocations: 20 kB / 0.6335 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7079, allocations: 55.92 kB / 0.6336 GB, free: 6.867 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.708, allocations: 71.77 kB / 0.6336 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.7082, allocations: 36 kB / 0.6337 GB, free: 6.762 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003692/0.7118, allocations: 1.828 MB / 0.6354 GB, free: 4.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7118, allocations: 0 / 0.6354 GB, free: 4.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005413/0.7173, allocations: 0.6387 MB / 0.6361 GB, free: 4.293 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.0005388/0.7178, allocations: 153.9 kB / 0.6362 GB, free: 4.133 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007182/0.725, allocations: 3.151 MB / 0.6393 GB, free: 1.008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.725, allocations: 384 / 0.6393 GB, free: 1.008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.7264, allocations: 0.7379 MB / 0.64 GB, free: 276 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.7288, allocations: 279.7 kB / 0.6403 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.7417, allocations: 5.652 MB / 0.6458 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/0.7447, allocations: 2.217 MB / 0.648 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003938/0.7486, allocations: 1.458 MB / 0.6494 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006838/0.7493, allocations: 179.4 kB / 0.6496 GB, free: 6.402 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7493, allocations: 0 / 0.6496 GB, free: 6.402 MB / 494.1 MB Notification: Performance of Templates: time 0.05575/0.805, allocations: 22.91 MB / 0.6719 GB, free: 15.65 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/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: 7.075176070444286]