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.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.001293/0.001293, allocations: 82.67 kB / 20.68 MB, free: 1.023 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.001455/0.001455, allocations: 162.2 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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.2002/0.2002, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: 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 1.904e-06/1.904e-06, allocations: 0 / 440.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.429e-05, allocations: 2.281 kB / 440.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009158/0.009192, allocations: 6.67 MB / 446.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2009/0.2101, allocations: 3.169 MB / 449.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.2109, allocations: 41.28 kB / 449.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.2126, allocations: 0.823 MB / 450.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.2159, allocations: 1.365 MB / 452.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.2174, allocations: 0.5698 MB / 452.7 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003768/0.2211, allocations: 2.954 MB / 455.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.2233, allocations: 1.397 MB / 457 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.2253, allocations: 1.221 MB / 458.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.2274, allocations: 1.304 MB / 459.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.2278, allocations: 142.5 kB / 459.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.2298, allocations: 0.8719 MB / 460.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.2309, allocations: 1.072 MB / 461.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009649/0.2318, allocations: 0.6517 MB / 462.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004743/0.2366, allocations: 4.041 MB / 466.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2366, allocations: 4 kB / 466.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2366, allocations: 0 / 466.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.513e-05/0.2367, allocations: 1.688 kB / 466.3 MB, free: 10.52 MB / 366.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.005685/0.2424, allocations: 2.97 MB / 469.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.2424, allocations: 10.5 kB / 469.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006338/0.2487, allocations: 1.744 MB / 471.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.2511, allocations: 1.267 MB / 472.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.83e-05/0.2512, allocations: 121.8 kB / 472.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003564/0.2515, allocations: 164.4 kB / 472.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008058/0.2596, allocations: 6.467 MB / 479.1 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-05/0.2596, allocations: 47.64 kB / 479.1 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.2599, allocations: 82.47 kB / 479.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00208/0.262, allocations: 1.433 MB / 480.6 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.2728, allocations: 5.735 MB / 486.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03491/0.3077, allocations: 25.32 MB / 0.4997 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004756/0.3124, allocations: 1.653 MB / 0.5013 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.3139, allocations: 0.9566 MB / 0.5023 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.3141, allocations: 20.25 kB / 0.5023 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.3141, allocations: 46.89 kB / 0.5023 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.697e-06/0.3141, allocations: 4 kB / 0.5023 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01903/0.3332, allocations: 6.764 MB / 0.5089 GB, free: 7.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.3333, allocations: 137 kB / 0.5091 GB, free: 7.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.3373, allocations: 2.74 MB / 0.5117 GB, free: 4.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.3375, allocations: 49.69 kB / 0.5118 GB, free: 4.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.3391, allocations: 2.19 MB / 0.5139 GB, free: 2.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005114/0.3396, allocations: 468.5 kB / 0.5144 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.3408, allocations: 0.8857 MB / 0.5152 GB, free: 1.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.341, allocations: 361.8 kB / 0.5156 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.3434, allocations: 1.432 MB / 0.517 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00471/0.3481, allocations: 4.311 MB / 0.5212 GB, free: 9.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007995/0.3561, allocations: 6.225 MB / 0.5273 GB, free: 1.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.804e-05/0.3561, allocations: 31.94 kB / 0.5273 GB, free: 1.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009731/0.3659, allocations: 5.504 MB / 0.5327 GB, free: 12.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/0.3659, allocations: 52.06 kB / 0.5327 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.3661, allocations: 104 kB / 0.5328 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.3662, allocations: 135.9 kB / 0.533 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004322/0.3706, allocations: 1.232 MB / 0.5342 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001777/0.3707, allocations: 195.2 kB / 0.5343 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/0.3742, allocations: 303.5 kB / 0.5346 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004009/0.3746, allocations: 280 kB / 0.5349 GB, free: 10.02 MB / 446.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.002244/0.3769, allocations: 1.388 MB / 0.5363 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005638/0.3774, allocations: 214.5 kB / 0.5365 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.3796, allocations: 1.21 MB / 0.5376 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.3796, allocations: 16 kB / 0.5377 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3796, allocations: 0 / 0.5377 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3796, allocations: 4.125 kB / 0.5377 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/0.3876, allocations: 4.007 MB / 0.5416 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.3876, allocations: 4 kB / 0.5416 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.3896, allocations: 367.3 kB / 0.5419 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.638e-05/0.3896, allocations: 12.47 kB / 0.5419 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.3897, allocations: 24 kB / 0.542 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-05/0.3897, allocations: 19.92 kB / 0.542 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3897, allocations: 4 kB / 0.542 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.3927, allocations: 2.119 MB / 0.5441 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.3932, allocations: 226 kB / 0.5443 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.3935, allocations: 23.92 kB / 0.5443 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.3946, allocations: 95.86 kB / 0.5444 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.3948, allocations: 71.77 kB / 0.5445 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.3949, allocations: 36 kB / 0.5445 GB, free: 12 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002979/0.3979, allocations: 1.574 MB / 0.546 GB, free: 14.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3979, allocations: 0 / 0.546 GB, free: 14.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004182/0.402, allocations: 0.6678 MB / 0.5467 GB, free: 13.75 MB / 462.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.0006125/0.4027, allocations: 175.9 kB / 0.5468 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005954/0.4086, allocations: 3.159 MB / 0.5499 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.4086, allocations: 1.938 kB / 0.5499 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.4098, allocations: 0.7349 MB / 0.5506 GB, free: 9.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.412, allocations: 241.8 kB / 0.5509 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.4234, allocations: 5.555 MB / 0.5563 GB, free: 3.816 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003081/0.4265, allocations: 1.643 MB / 0.5579 GB, free: 2.137 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003549/0.43, allocations: 1.429 MB / 0.5593 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007407/0.4308, allocations: 164.5 kB / 0.5595 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4308, allocations: 0 / 0.5595 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of Templates: time 0.04136/0.4721, allocations: 17.96 MB / 0.577 GB, free: 14.86 MB / 494.1 MB " [Timeout remaining time 660] 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: 5.852044213563204]