Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.001421/0.001421, allocations: 80.91 kB / 20.51 MB, free: 1.273 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.001456/0.001456, allocations: 162.7 kB / 23.76 MB, free: 4.469 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.422/1.422, allocations: 158.6 MB / 185.5 MB, free: 6.23 MB / 174.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.2149/0.2149, allocations: 32.37 MB / 270.1 MB, free: 2.715 MB / 254.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.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.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 68.52 kB / 407.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1381, allocations: 61.05 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.3127/0.4507, allocations: 13.67 MB / 482.5 MB, free: 42.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009912/0.4607, allocations: 4.32 MB / 486.8 MB, free: 41.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.4636, allocations: 89.22 kB / 486.9 MB, free: 41.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004023/0.4676, allocations: 2.205 MB / 489.1 MB, free: 40.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004847/0.4724, allocations: 2.151 MB / 491.2 MB, free: 39.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.4737, allocations: 0.627 MB / 491.9 MB, free: 39.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004556/0.4783, allocations: 4.439 MB / 496.3 MB, free: 37.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.4809, allocations: 2.757 MB / 499.1 MB, free: 36.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.483, allocations: 1.697 MB / 0.489 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.4856, allocations: 2.372 MB / 0.4913 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006135/0.4862, allocations: 352.1 kB / 0.4917 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.488, allocations: 0.943 MB / 0.4926 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001883/0.4899, allocations: 2.103 MB / 0.4946 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.4922, allocations: 1.81 MB / 0.4964 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.504, allocations: 8.113 MB / 0.5043 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.504, allocations: 5.156 kB / 0.5043 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.504, allocations: 0 / 0.5043 GB, free: 29.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003313/0.5044, allocations: 0 / 0.5043 GB, free: 29.48 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01608/0.5205, allocations: 5.337 MB / 0.5096 GB, free: 26.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5205, allocations: 9.062 kB / 0.5096 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.5326, allocations: 3.33 MB / 0.5128 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/0.5408, allocations: 2.444 MB / 0.5152 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000641/0.5415, allocations: 262.3 kB / 0.5155 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002517/0.544, allocations: 346.3 kB / 0.5158 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02912/0.5731, allocations: 12.65 MB / 0.5281 GB, free: 16.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002817/0.5734, allocations: 34.38 kB / 0.5282 GB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002087/0.5755, allocations: 163.8 kB / 0.5283 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006387/0.5819, allocations: 2.997 MB / 0.5313 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03489/0.6168, allocations: 11.29 MB / 0.5423 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09294/0.7097, allocations: 38.79 MB / 0.5802 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.7202, allocations: 3.731 MB / 0.5838 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003942/0.7241, allocations: 2.264 MB / 0.586 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.7252, allocations: 449.3 kB / 0.5864 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/0.7252, allocations: 60.5 kB / 0.5865 GB, free: 3.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 6.011e-06/0.7252, allocations: 0 / 0.5865 GB, free: 3.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.05547/0.7807, allocations: 19.87 MB / 0.6059 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.7808, allocations: 103.1 kB / 0.606 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006563/0.7874, allocations: 3.156 MB / 0.6091 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005896/0.7879, allocations: 61.7 kB / 0.6092 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003284/0.7912, allocations: 3.434 MB / 0.6125 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/0.7931, allocations: 1.019 MB / 0.6135 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003564/0.7966, allocations: 1.216 MB / 0.6147 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7968, allocations: 309.1 kB / 0.615 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004682/0.8015, allocations: 2.491 MB / 0.6174 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007803/0.8093, allocations: 5.9 MB / 0.6232 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/0.8232, allocations: 9.202 MB / 0.6322 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/0.8234, allocations: 32 kB / 0.6322 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02205/0.8454, allocations: 9.16 MB / 0.6411 GB, free: 8.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.8456, allocations: 60.25 kB / 0.6412 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002526/0.8459, allocations: 116 kB / 0.6413 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/0.8493, allocations: 1.051 MB / 0.6423 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005233/0.8546, allocations: 1.4 MB / 0.6437 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008153/0.8627, allocations: 5.369 MB / 0.6489 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/0.8674, allocations: 335.7 kB / 0.6493 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/0.8687, allocations: 352 kB / 0.6496 GB, free: 15.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 744 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006644/0.8754, allocations: 2.494 MB / 0.652 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009221/0.8763, allocations: 305.9 kB / 0.6523 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.8879, allocations: 5.355 MB / 0.6576 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.462e-05/0.8879, allocations: 44 kB / 0.6576 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/0.888, allocations: 7.984 kB / 0.6576 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/0.888, allocations: 7.969 kB / 0.6576 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0289/0.9169, allocations: 11.61 MB / 0.6689 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/0.9169, allocations: 12 kB / 0.669 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.919, allocations: 423.3 kB / 0.6694 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/0.9221, allocations: 0.898 MB / 0.6702 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/0.9224, allocations: 55.98 kB / 0.6703 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007184/0.9296, allocations: 4.673 MB / 0.6749 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.9296, allocations: 15.94 kB / 0.6749 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.9435, allocations: 8.01 MB / 0.6827 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/0.9456, allocations: 0.6384 MB / 0.6833 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008602/0.9465, allocations: 53.11 kB / 0.6834 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/0.9484, allocations: 151.8 kB / 0.6835 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004688/0.9488, allocations: 185.3 kB / 0.6837 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/0.9491, allocations: 79.98 kB / 0.6838 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004118/0.9532, allocations: 1.783 MB / 0.6855 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.9532, allocations: 0 / 0.6855 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006683/0.9599, allocations: 1.105 MB / 0.6866 GB, free: 8.914 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007771/0.9607, allocations: 198.7 kB / 0.6868 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01122/0.9719, allocations: 5.861 MB / 0.6925 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/0.9719, allocations: 0 / 0.6925 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003795/0.9757, allocations: 2.106 MB / 0.6946 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/0.979, allocations: 332.9 kB / 0.6949 GB, free: 428 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3342/1.313, allocations: 11.87 MB / 0.7065 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004974/1.318, allocations: 3.3 MB / 0.7097 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00433/1.323, allocations: 2.148 MB / 0.7118 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007498/1.323, allocations: 233.4 kB / 0.712 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/1.323, allocations: 0 / 0.712 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.06636/1.39, allocations: 28.96 MB / 0.7403 GB, free: 179.2 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.32426638295874]