Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.001725/0.001725, allocations: 82.17 kB / 21.25 MB, free: 0.5469 MB / 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.002088/0.002088, allocations: 160.2 kB / 24.5 MB, free: 3.719 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.502/1.502, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 75.88 kB / 443.2 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3286, allocations: 66.06 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01025/0.3388, allocations: 13.01 MB / 0.51 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007679/0.3465, allocations: 4.231 MB / 0.5141 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.3488, allocations: 92.53 kB / 0.5142 GB, free: 18.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004344/0.3532, allocations: 2.181 MB / 0.5163 GB, free: 17.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.3584, allocations: 2.054 MB / 0.5183 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.36, allocations: 0.6106 MB / 0.5189 GB, free: 16.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005827/0.3659, allocations: 4.301 MB / 0.5231 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003802/0.3697, allocations: 2.663 MB / 0.5257 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.3728, allocations: 1.625 MB / 0.5273 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003917/0.3767, allocations: 2.305 MB / 0.5296 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001547/0.3782, allocations: 346.1 kB / 0.5299 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.3813, allocations: 0.9366 MB / 0.5308 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002686/0.384, allocations: 2.008 MB / 0.5328 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.387, allocations: 1.719 MB / 0.5345 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009469/0.3965, allocations: 7.808 MB / 0.5421 GB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3965, allocations: 0 / 0.5421 GB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3965, allocations: 5.109 kB / 0.5421 GB, free: 5.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002977/0.3968, allocations: 0 / 0.5421 GB, free: 5.184 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01307/0.4099, allocations: 5.128 MB / 0.5471 GB, free: 1.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4099, allocations: 10.06 kB / 0.5471 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.4216, allocations: 3.261 MB / 0.5503 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007422/0.429, allocations: 2.341 MB / 0.5526 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002724/0.4292, allocations: 246.6 kB / 0.5528 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.4305, allocations: 335.7 kB / 0.5531 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0239/0.4544, allocations: 12.25 MB / 0.5651 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.4546, allocations: 31.7 kB / 0.5651 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007096/0.4553, allocations: 151.8 kB / 0.5653 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005304/0.4606, allocations: 2.848 MB / 0.5681 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/0.4845, allocations: 11.12 MB / 0.5789 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06589/0.5504, allocations: 37.34 MB / 0.6154 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009939/0.5603, allocations: 3.713 MB / 0.619 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/0.564, allocations: 2.253 MB / 0.6212 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000941/0.5649, allocations: 453.2 kB / 0.6216 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/0.565, allocations: 52.56 kB / 0.6217 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.003e-06/0.565, allocations: 0 / 0.6217 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04976/0.6147, allocations: 18.98 MB / 0.6402 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.6148, allocations: 77.39 kB / 0.6403 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005978/0.6208, allocations: 3.062 MB / 0.6433 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000561/0.6214, allocations: 61.7 kB / 0.6433 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0031/0.6245, allocations: 3.275 MB / 0.6465 GB, free: 10.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/0.6262, allocations: 1.019 MB / 0.6475 GB, free: 9.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003182/0.6294, allocations: 1.195 MB / 0.6487 GB, free: 8.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6295, allocations: 305.1 kB / 0.649 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004731/0.6342, allocations: 2.467 MB / 0.6514 GB, free: 5.742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008511/0.6427, allocations: 5.731 MB / 0.657 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/0.6563, allocations: 8.985 MB / 0.6658 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/0.6564, allocations: 32 kB / 0.6658 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.02009/0.6765, allocations: 8.983 MB / 0.6746 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.6767, allocations: 56.06 kB / 0.6746 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002179/0.6769, allocations: 116 kB / 0.6747 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003505/0.6804, allocations: 1.049 MB / 0.6758 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/0.6857, allocations: 1.353 MB / 0.6771 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008661/0.6944, allocations: 5.366 MB / 0.6823 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/0.6989, allocations: 315.8 kB / 0.6826 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/0.7002, allocations: 348 kB / 0.683 GB, free: 2.105 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,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 (729): * Single equations (assignments): 722 * 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.005914/0.7061, allocations: 2.409 MB / 0.6853 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009924/0.7071, allocations: 302 kB / 0.6856 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.7188, allocations: 5.35 MB / 0.6908 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.074e-05/0.7189, allocations: 44 kB / 0.6909 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/0.719, allocations: 4 kB / 0.6909 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/0.719, allocations: 12.05 kB / 0.6909 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3208/1.04, allocations: 11.36 MB / 0.702 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-05/1.04, allocations: 11.34 kB / 0.702 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/1.042, allocations: 419.6 kB / 0.7024 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/1.045, allocations: 0.8978 MB / 0.7033 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004293/1.045, allocations: 61.45 kB / 0.7033 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005741/1.051, allocations: 4.669 MB / 0.7079 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.051, allocations: 14.91 kB / 0.7079 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.061, allocations: 7.987 MB / 0.7157 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000871/1.062, allocations: 267.9 kB / 0.7159 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/1.062, allocations: 48.38 kB / 0.716 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.064, allocations: 152 kB / 0.7161 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/1.064, allocations: 178.4 kB / 0.7163 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/1.064, allocations: 80.02 kB / 0.7164 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002729/1.067, allocations: 1.731 MB / 0.7181 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.067, allocations: 0 / 0.7181 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005143/1.072, allocations: 1.056 MB / 0.7191 GB, free: 156.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (208): * Single equations (assignments): 201 * 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.0004958/1.073, allocations: 202.6 kB / 0.7193 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00816/1.081, allocations: 5.793 MB / 0.725 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/1.081, allocations: 2.906 kB / 0.725 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002948/1.084, allocations: 2.098 MB / 0.727 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/1.086, allocations: 359.5 kB / 0.7274 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.108, allocations: 11.5 MB / 0.7386 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004917/1.113, allocations: 3.174 MB / 0.7417 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00432/1.118, allocations: 2.127 MB / 0.7438 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006877/1.118, allocations: 220.8 kB / 0.744 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.333e-06/1.118, allocations: 7.609 kB / 0.744 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.05056/1.169, allocations: 28.97 MB / 0.7723 GB, free: 126.6 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.149790643947199]