Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001268/0.001268, allocations: 107.9 kB / 19.8 MB, free: 2.5 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.001399/0.001399, allocations: 194.5 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2854/0.2854, allocations: 44.92 MB / 351.6 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 495.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4156, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01125/0.4268, allocations: 7.546 MB / 0.5537 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008435/0.4353, allocations: 3.383 MB / 0.557 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.4372, allocations: 32.91 kB / 0.5571 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.4398, allocations: 0.8119 MB / 0.5579 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005747/0.4455, allocations: 1.35 MB / 0.5592 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.4477, allocations: 0.53 MB / 0.5597 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.4528, allocations: 2.567 MB / 0.5622 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.4555, allocations: 1.026 MB / 0.5632 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.4573, allocations: 0.7822 MB / 0.564 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.4598, allocations: 1.226 MB / 0.5652 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007184/0.4605, allocations: 144 kB / 0.5653 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.4635, allocations: 0.9788 MB / 0.5663 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00199/0.4655, allocations: 1.051 MB / 0.5673 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.4682, allocations: 1.219 MB / 0.5685 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007744/0.476, allocations: 4.075 MB / 0.5725 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.476, allocations: 0 / 0.5725 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.476, allocations: 0 / 0.5725 GB, free: 5.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.4761, allocations: 0 / 0.5725 GB, free: 5.008 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.007661/0.4838, allocations: 3.038 MB / 0.5754 GB, free: 1.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.4838, allocations: 8.031 kB / 0.5754 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005909/0.4897, allocations: 1.668 MB / 0.5771 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.4927, allocations: 1.356 MB / 0.5784 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.4928, allocations: 131.3 kB / 0.5785 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/0.4932, allocations: 164 kB / 0.5787 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.5051, allocations: 6.46 MB / 0.585 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.452e-05/0.5052, allocations: 31.7 kB / 0.585 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.5055, allocations: 91.88 kB / 0.5851 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002609/0.5081, allocations: 1.437 MB / 0.5865 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.52, allocations: 5.732 MB / 0.5921 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.036/0.556, allocations: 26.75 MB / 0.6182 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.5607, allocations: 2.072 MB / 0.6202 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.562, allocations: 0.9646 MB / 0.6212 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.5623, allocations: 174.5 kB / 0.6213 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.5623, allocations: 46.89 kB / 0.6214 GB, free: 1.191 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.026e-06/0.5623, allocations: 0 / 0.6214 GB, free: 1.191 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01703/0.5793, allocations: 6.509 MB / 0.6278 GB, free: 10.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5794, allocations: 144.8 kB / 0.6279 GB, free: 10.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/0.5841, allocations: 2.898 MB / 0.6307 GB, free: 7.586 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.5843, allocations: 41.7 kB / 0.6308 GB, free: 7.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.5863, allocations: 2.19 MB / 0.6329 GB, free: 5.328 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/0.587, allocations: 484.4 kB / 0.6334 GB, free: 4.852 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.5883, allocations: 0.8974 MB / 0.6342 GB, free: 3.941 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5884, allocations: 305.1 kB / 0.6345 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.5909, allocations: 1.426 MB / 0.6359 GB, free: 2.207 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005455/0.5963, allocations: 4.299 MB / 0.6401 GB, free: 12.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008927/0.6053, allocations: 6.207 MB / 0.6462 GB, free: 4.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/0.6054, allocations: 32 kB / 0.6462 GB, free: 4.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01119/0.6166, allocations: 5.521 MB / 0.6516 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/0.6167, allocations: 48 kB / 0.6516 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.6168, allocations: 108 kB / 0.6517 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.6169, allocations: 132 kB / 0.6519 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004635/0.6216, allocations: 1.229 MB / 0.6531 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002048/0.6218, allocations: 203.2 kB / 0.6533 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/0.6253, allocations: 239.7 kB / 0.6535 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005449/0.6258, allocations: 284 kB / 0.6538 GB, free: 13.04 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 (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.002629/0.6285, allocations: 1.38 MB / 0.6551 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006661/0.6291, allocations: 254.3 kB / 0.6554 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.6314, allocations: 1.234 MB / 0.6566 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/0.6315, allocations: 19.94 kB / 0.6566 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.6315, allocations: 3.938 kB / 0.6566 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.6315, allocations: 3.984 kB / 0.6566 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008961/0.6405, allocations: 4.559 MB / 0.661 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/0.6405, allocations: 8 kB / 0.661 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.6423, allocations: 367.4 kB / 0.6614 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.2e-05/0.6423, allocations: 11.94 kB / 0.6614 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.41e-05/0.6424, allocations: 24 kB / 0.6614 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.6424, allocations: 8 kB / 0.6614 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.6424, allocations: 7.938 kB / 0.6614 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.6456, allocations: 2.183 MB / 0.6636 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007/0.6463, allocations: 319.2 kB / 0.6639 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.6465, allocations: 24 kB / 0.6639 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008481/0.6474, allocations: 55.91 kB / 0.664 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.6476, allocations: 71.8 kB / 0.664 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/0.6476, allocations: 36 kB / 0.6641 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003064/0.6507, allocations: 1.819 MB / 0.6658 GB, free: 460 kB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6507, allocations: 288 / 0.6658 GB, free: 460 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003846/0.6546, allocations: 0.6288 MB / 0.6665 GB, free: 15.82 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.0004259/0.655, allocations: 170.7 kB / 0.6666 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00593/0.6609, allocations: 3.16 MB / 0.6697 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6609, allocations: 0.875 kB / 0.6697 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.662, allocations: 0.7414 MB / 0.6704 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.6639, allocations: 270.2 kB / 0.6707 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.6739, allocations: 5.647 MB / 0.6762 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.6762, allocations: 2.21 MB / 0.6784 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00313/0.6793, allocations: 1.455 MB / 0.6798 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005335/0.6798, allocations: 167.4 kB / 0.6799 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/0.6798, allocations: 4 kB / 0.6799 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of Templates: time 0.05538/0.7352, allocations: 20.99 MB / 0.7004 GB, free: 12.95 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.6770402155816555]