Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001981/0.001981, allocations: 116.1 kB / 21.18 MB, free: 0.7422 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.002197/0.002197, allocations: 214.8 kB / 24.48 MB, free: 4.191 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.435/1.435, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2192/0.2192, allocations: 46.89 MB / 361.1 MB, free: 4.605 MB / 286.1 MB " [Timeout remaining time 180] 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.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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar") [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.002277/0.002277, allocations: 80.19 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3011, allocations: 66 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01706/0.3182, allocations: 15.05 MB / 0.5759 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009096/0.3273, allocations: 4.458 MB / 0.5803 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.3295, allocations: 79.81 kB / 0.5803 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004419/0.3339, allocations: 2.262 MB / 0.5825 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.3385, allocations: 2.043 MB / 0.5845 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3399, allocations: 0.6083 MB / 0.5851 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005441/0.3454, allocations: 4.31 MB / 0.5893 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.3483, allocations: 2.407 MB / 0.5917 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.3504, allocations: 1.6 MB / 0.5933 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003087/0.3535, allocations: 2.43 MB / 0.5956 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006012/0.3541, allocations: 340 kB / 0.596 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.3559, allocations: 1.061 MB / 0.597 GB, free: 208 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.3578, allocations: 2.01 MB / 0.599 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.3601, allocations: 2.376 MB / 0.6013 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008711/0.3688, allocations: 7.776 MB / 0.6089 GB, free: 3.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.3688, allocations: 4 kB / 0.6089 GB, free: 3.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3688, allocations: 0 / 0.6089 GB, free: 3.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001729/0.369, allocations: 0 / 0.6089 GB, free: 3.984 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.008928/0.3779, allocations: 5.197 MB / 0.6139 GB, free: 14.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.378, allocations: 8.031 kB / 0.614 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/0.3887, allocations: 3.223 MB / 0.6171 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/0.3945, allocations: 2.386 MB / 0.6194 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.3947, allocations: 246.6 kB / 0.6197 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007173/0.3954, allocations: 331.7 kB / 0.62 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/0.4142, allocations: 12.24 MB / 0.6319 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.4143, allocations: 35.7 kB / 0.632 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004638/0.4148, allocations: 159.7 kB / 0.6321 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004776/0.4196, allocations: 2.84 MB / 0.6349 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/0.44, allocations: 11.13 MB / 0.6458 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06301/0.503, allocations: 40.58 MB / 0.6854 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009679/0.5127, allocations: 4.51 MB / 0.6898 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/0.5161, allocations: 2.252 MB / 0.692 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.5175, allocations: 1.323 MB / 0.6933 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.5176, allocations: 56.5 kB / 0.6934 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 6.442e-06/0.5176, allocations: 0 / 0.6934 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04855/0.5661, allocations: 18.76 MB / 0.7117 GB, free: 8.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.5662, allocations: 73.41 kB / 0.7117 GB, free: 8.281 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/0.5712, allocations: 3.172 MB / 0.7148 GB, free: 5.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002468/0.5714, allocations: 61.7 kB / 0.7149 GB, free: 5.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002423/0.5739, allocations: 3.237 MB / 0.7181 GB, free: 1.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.575, allocations: 1.023 MB / 0.7191 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/0.5767, allocations: 1.188 MB / 0.7202 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5769, allocations: 309.1 kB / 0.7205 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.5806, allocations: 2.463 MB / 0.7229 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006344/0.5869, allocations: 5.734 MB / 0.7285 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2658/0.8527, allocations: 8.986 MB / 0.7373 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-05/0.8528, allocations: 41.42 kB / 0.7373 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01258/0.8654, allocations: 9.008 MB / 0.7461 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.8655, allocations: 54.09 kB / 0.7462 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-05/0.8656, allocations: 116.8 kB / 0.7463 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.8682, allocations: 1.052 MB / 0.7473 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/0.8721, allocations: 1.344 MB / 0.7486 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005767/0.8779, allocations: 5.538 MB / 0.754 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.8813, allocations: 325.5 kB / 0.7543 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00054/0.8819, allocations: 340 kB / 0.7547 GB, free: 140.5 MB / 0.5606 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.003748/0.8856, allocations: 2.406 MB / 0.757 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006536/0.8863, allocations: 334 kB / 0.7573 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007452/0.8937, allocations: 5.358 MB / 0.7626 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.8937, allocations: 11.58 kB / 0.7626 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.8937, allocations: 4 kB / 0.7626 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006311/0.8944, allocations: 362.6 kB / 0.7629 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/0.8948, allocations: 39.94 kB / 0.763 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.8958, allocations: 136.2 kB / 0.7631 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.8961, allocations: 140.7 kB / 0.7632 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006518/0.9026, allocations: 4.733 MB / 0.7679 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006719/0.9093, allocations: 6.965 MB / 0.7747 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001718/0.911, allocations: 1.769 MB / 0.7764 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002298/0.9133, allocations: 1.94 MB / 0.7783 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of Backend: time 6.31e-07/0.9133, allocations: 0 / 0.7783 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006488/0.9198, allocations: 4.258 MB / 0.7824 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01202/0.9318, allocations: 10.39 MB / 0.7926 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06628/0.9981, allocations: 49.84 MB / 0.8413 GB, free: 54.83 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.914870040025562]