Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001332/0.001332, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001404/0.001404, allocations: 207.9 kB / 25.13 MB, free: 3.586 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.46/1.46, allocations: 230.4 MB / 258.7 MB, free: 8.082 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2507/0.2507, allocations: 46.94 MB / 362 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Rotational.TestMove") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.86 kB / 0.4978 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3689, allocations: 66.07 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009955/0.3788, allocations: 7.474 MB / 0.5696 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00706/0.3859, allocations: 3.394 MB / 0.5729 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.387, allocations: 39.81 kB / 0.573 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.389, allocations: 0.821 MB / 0.5738 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.3924, allocations: 1.319 MB / 0.575 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3939, allocations: 0.534 MB / 0.5756 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004611/0.3985, allocations: 2.601 MB / 0.5781 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.4006, allocations: 1.158 MB / 0.5792 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.402, allocations: 0.7784 MB / 0.58 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.4039, allocations: 1.234 MB / 0.5812 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003831/0.4043, allocations: 140 kB / 0.5813 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.4063, allocations: 0.8423 MB / 0.5822 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.4075, allocations: 1.028 MB / 0.5832 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.4092, allocations: 1.207 MB / 0.5843 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006959/0.4161, allocations: 4.044 MB / 0.5883 GB, free: 9.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.4161, allocations: 4 kB / 0.5883 GB, free: 9.566 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4161, allocations: 0 / 0.5883 GB, free: 9.566 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001174/0.4162, allocations: 0 / 0.5883 GB, free: 9.566 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.007357/0.4236, allocations: 2.935 MB / 0.5912 GB, free: 6.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4237, allocations: 11.97 kB / 0.5912 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00586/0.4295, allocations: 1.668 MB / 0.5928 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.433, allocations: 1.263 MB / 0.594 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.4332, allocations: 123.4 kB / 0.5942 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/0.4336, allocations: 164 kB / 0.5943 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.4446, allocations: 6.46 MB / 0.6006 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/0.4446, allocations: 31.7 kB / 0.6006 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.4449, allocations: 87.88 kB / 0.6007 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.4475, allocations: 1.433 MB / 0.6021 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.4591, allocations: 5.736 MB / 0.6077 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03594/0.495, allocations: 26.56 MB / 0.6337 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.4992, allocations: 1.62 MB / 0.6353 GB, free: 7.965 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.5006, allocations: 0.9644 MB / 0.6362 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.5008, allocations: 24.3 kB / 0.6362 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5008, allocations: 42.83 kB / 0.6363 GB, free: 6.914 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.337e-06/0.5008, allocations: 8 kB / 0.6363 GB, free: 6.906 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01588/0.5167, allocations: 6.524 MB / 0.6426 GB, free: 372 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.5168, allocations: 148.8 kB / 0.6428 GB, free: 192 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/0.5208, allocations: 2.89 MB / 0.6456 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.521, allocations: 41.7 kB / 0.6456 GB, free: 13.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.5228, allocations: 2.194 MB / 0.6478 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005213/0.5233, allocations: 472.5 kB / 0.6482 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.5244, allocations: 0.9091 MB / 0.6491 GB, free: 9.637 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5246, allocations: 301.1 kB / 0.6494 GB, free: 9.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.527, allocations: 1.426 MB / 0.6508 GB, free: 7.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/0.5319, allocations: 4.295 MB / 0.655 GB, free: 2.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008714/0.5406, allocations: 6.21 MB / 0.6611 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/0.5407, allocations: 28 kB / 0.6611 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01144/0.5521, allocations: 5.527 MB / 0.6665 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/0.5522, allocations: 50.19 kB / 0.6665 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/0.5523, allocations: 104.9 kB / 0.6666 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.5525, allocations: 132 kB / 0.6668 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/0.5568, allocations: 1.228 MB / 0.668 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001784/0.557, allocations: 203.2 kB / 0.6681 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.56, allocations: 239.7 kB / 0.6684 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004461/0.5605, allocations: 280 kB / 0.6686 GB, free: 2.738 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.002244/0.5627, allocations: 1.391 MB / 0.67 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004692/0.5632, allocations: 254.3 kB / 0.6702 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.5655, allocations: 1.237 MB / 0.6715 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/0.5655, allocations: 16 kB / 0.6715 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.5655, allocations: 4.078 kB / 0.6715 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.5656, allocations: 7.969 kB / 0.6715 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008497/0.574, allocations: 4.519 MB / 0.6759 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.5741, allocations: 11.94 kB / 0.6759 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.5758, allocations: 363.4 kB / 0.6763 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.5759, allocations: 15.92 kB / 0.6763 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.5759, allocations: 20 kB / 0.6763 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.301e-05/0.5759, allocations: 8.375 kB / 0.6763 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.576, allocations: 11.94 kB / 0.6763 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.579, allocations: 2.168 MB / 0.6784 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.5795, allocations: 246.1 kB / 0.6787 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.5798, allocations: 24 kB / 0.6787 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.5807, allocations: 59.91 kB / 0.6787 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.5808, allocations: 75.77 kB / 0.6788 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/0.5809, allocations: 32 kB / 0.6788 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003023/0.584, allocations: 1.811 MB / 0.6806 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.584, allocations: 0 / 0.6806 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003343/0.5873, allocations: 0.6132 MB / 0.6812 GB, free: 5.672 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.0003657/0.5877, allocations: 170.8 kB / 0.6814 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00529/0.593, allocations: 3.154 MB / 0.6844 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.593, allocations: 8.062 kB / 0.6845 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.5941, allocations: 0.734 MB / 0.6852 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.5964, allocations: 264.7 kB / 0.6854 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.6068, allocations: 5.629 MB / 0.6909 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/0.6092, allocations: 2.21 MB / 0.6931 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003535/0.6127, allocations: 1.455 MB / 0.6945 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/0.6133, allocations: 179.4 kB / 0.6947 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of SimCode: time 1.332e-06/0.6133, allocations: 0 / 0.6947 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.04919/0.6625, allocations: 22.78 MB / 0.7169 GB, free: 1.012 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.350311313988641]