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.00086/0.00086, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.00131/0.00131, allocations: 174.3 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8602/0.8602, allocations: 158.6 MB / 185.7 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.1313/0.1313, allocations: 32.38 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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: 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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 408.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.576e-05, allocations: 2.281 kB / 408.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005506/0.005532, allocations: 6.716 MB / 414.8 MB, free: 11.01 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.009775, allocations: 3.147 MB / 417.9 MB, free: 7.852 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/0.01015, allocations: 39.81 kB / 418 MB, free: 7.812 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.01147, allocations: 0.8247 MB / 418.8 MB, free: 6.984 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.013, allocations: 1.4 MB / 420.2 MB, free: 5.578 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.01357, allocations: 0.5688 MB / 420.8 MB, free: 5.008 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.01516, allocations: 2.901 MB / 423.7 MB, free: 2.098 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009229/0.01608, allocations: 1.411 MB / 425.1 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.01716, allocations: 1.235 MB / 426.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009988/0.01816, allocations: 1.317 MB / 427.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.0183, allocations: 144 kB / 427.8 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008103/0.01911, allocations: 0.8773 MB / 428.7 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005533/0.01966, allocations: 1.102 MB / 429.8 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.02007, allocations: 0.6617 MB / 430.4 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.02283, allocations: 4.095 MB / 434.5 MB, free: 7.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.02283, allocations: 3.938 kB / 434.5 MB, free: 7.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02283, allocations: 0 / 434.5 MB, free: 7.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.02285, allocations: 0 / 434.5 MB, free: 7.215 MB / 410.7 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.002867/0.02572, allocations: 2.99 MB / 437.5 MB, free: 4.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.02577, allocations: 8.031 kB / 437.5 MB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/0.02874, allocations: 1.699 MB / 439.2 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.03042, allocations: 1.325 MB / 440.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/0.03049, allocations: 127.4 kB / 440.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.03069, allocations: 156.3 kB / 440.8 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0053/0.03599, allocations: 6.469 MB / 447.3 MB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.03604, allocations: 31.7 kB / 447.3 MB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.0362, allocations: 83.89 kB / 447.4 MB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00126/0.03746, allocations: 1.437 MB / 448.8 MB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005708/0.04317, allocations: 5.716 MB / 454.6 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2086/0.2518, allocations: 25.36 MB / 479.9 MB, free: 80.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.254, allocations: 1.639 MB / 481.6 MB, free: 80.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.2547, allocations: 0.9689 MB / 482.5 MB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.2548, allocations: 16.66 kB / 482.5 MB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.2548, allocations: 47.2 kB / 482.6 MB, free: 79.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 2.976e-06/0.2548, allocations: 0 / 482.6 MB, free: 79.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.008602/0.2634, allocations: 6.798 MB / 489.4 MB, free: 77.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.2635, allocations: 152.4 kB / 489.5 MB, free: 77.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.2653, allocations: 2.786 MB / 492.3 MB, free: 76.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.2654, allocations: 37.02 kB / 492.4 MB, free: 76.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000603/0.266, allocations: 2.195 MB / 494.5 MB, free: 74.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.2662, allocations: 468.9 kB / 495 MB, free: 74.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006435/0.2669, allocations: 0.8946 MB / 495.9 MB, free: 73.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.2669, allocations: 356.1 kB / 496.2 MB, free: 73.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.2681, allocations: 1.42 MB / 497.7 MB, free: 72.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.2703, allocations: 4.306 MB / 0.4902 GB, free: 68.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.2738, allocations: 6.201 MB / 0.4963 GB, free: 63.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.69e-05/0.2738, allocations: 32.16 kB / 0.4963 GB, free: 63.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.005526/0.2794, allocations: 5.504 MB / 0.5017 GB, free: 61.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.2794, allocations: 48.5 kB / 0.5017 GB, free: 61.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.803e-05/0.2795, allocations: 102.8 kB / 0.5018 GB, free: 61.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.2796, allocations: 137.5 kB / 0.5019 GB, free: 61.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.2819, allocations: 1.227 MB / 0.5031 GB, free: 61.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001315/0.2821, allocations: 201.1 kB / 0.5033 GB, free: 61.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.2836, allocations: 280.9 kB / 0.5036 GB, free: 61.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002939/0.2839, allocations: 277.7 kB / 0.5039 GB, free: 61.12 MB / 442.7 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.001346/0.2852, allocations: 1.386 MB / 0.5052 GB, free: 60.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.2854, allocations: 225.2 kB / 0.5054 GB, free: 60.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.2866, allocations: 1.214 MB / 0.5066 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.2866, allocations: 13.44 kB / 0.5066 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.2866, allocations: 5.406 kB / 0.5066 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2867, allocations: 3.469 kB / 0.5066 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/0.2911, allocations: 3.998 MB / 0.5106 GB, free: 58.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2911, allocations: 3.969 kB / 0.5106 GB, free: 58.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.292, allocations: 372.8 kB / 0.5109 GB, free: 58.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.292, allocations: 7.875 kB / 0.5109 GB, free: 58.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.2921, allocations: 20.59 kB / 0.5109 GB, free: 58.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.2921, allocations: 17.16 kB / 0.511 GB, free: 58.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2921, allocations: 3.938 kB / 0.511 GB, free: 58.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.2939, allocations: 2.133 MB / 0.513 GB, free: 57.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.2944, allocations: 380.5 kB / 0.5134 GB, free: 56.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.2945, allocations: 24.3 kB / 0.5134 GB, free: 56.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.295, allocations: 91.72 kB / 0.5135 GB, free: 56.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2951, allocations: 71.64 kB / 0.5136 GB, free: 56.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.2952, allocations: 32.31 kB / 0.5136 GB, free: 56.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001451/0.2966, allocations: 1.607 MB / 0.5152 GB, free: 56.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2966, allocations: 0 / 0.5152 GB, free: 56.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002024/0.2987, allocations: 0.6932 MB / 0.5159 GB, free: 56.22 MB / 442.7 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.0003478/0.299, allocations: 181.5 kB / 0.516 GB, free: 56.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003055/0.3021, allocations: 3.163 MB / 0.5191 GB, free: 55.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3021, allocations: 2.953 kB / 0.5191 GB, free: 55.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.3027, allocations: 0.7323 MB / 0.5198 GB, free: 54.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/0.3036, allocations: 237.8 kB / 0.5201 GB, free: 54.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/0.3083, allocations: 5.846 MB / 0.5258 GB, free: 48.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.3095, allocations: 1.65 MB / 0.5274 GB, free: 47.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.3098, allocations: 199.4 kB / 0.5276 GB, free: 47.48 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3098, allocations: 0 / 0.5276 GB, free: 47.48 MB / 442.7 MB Notification: Performance of Templates: time 0.02791/0.3377, allocations: 38.15 MB / 0.5648 GB, free: 11.06 MB / 442.7 MB " [Timeout remaining time 660] 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: 6.389921263791621]