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.001865/0.001865, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001486/0.001486, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.515/1.515, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2259/0.2259, allocations: 46.88 MB / 361.1 MB, free: 4.66 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.002368/0.002368, allocations: 79.88 kB / 0.4968 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3477, allocations: 65.99 MB / 0.5612 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01775/0.3654, allocations: 15.04 MB / 0.5759 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0096/0.375, allocations: 4.476 MB / 0.5803 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.3768, allocations: 75.88 kB / 0.5803 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.3812, allocations: 2.265 MB / 0.5825 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.3856, allocations: 2.031 MB / 0.5845 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.387, allocations: 0.6122 MB / 0.5851 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005464/0.3924, allocations: 4.314 MB / 0.5893 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/0.3955, allocations: 2.404 MB / 0.5917 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.398, allocations: 1.596 MB / 0.5932 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003691/0.4017, allocations: 2.43 MB / 0.5956 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007732/0.4025, allocations: 340 kB / 0.5959 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.4046, allocations: 1.065 MB / 0.597 GB, free: 268 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002106/0.4067, allocations: 2.006 MB / 0.5989 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.4097, allocations: 2.384 MB / 0.6013 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009842/0.4196, allocations: 7.765 MB / 0.6089 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.4196, allocations: 0 / 0.6089 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4196, allocations: 7.938 kB / 0.6089 GB, free: 4.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002486/0.4198, allocations: 0 / 0.6089 GB, free: 4.047 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.01095/0.4308, allocations: 5.201 MB / 0.6139 GB, free: 14.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4308, allocations: 8.922 kB / 0.6139 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.4426, allocations: 3.219 MB / 0.6171 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006404/0.449, allocations: 2.386 MB / 0.6194 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.4492, allocations: 246.6 kB / 0.6197 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.4504, allocations: 331.7 kB / 0.62 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.4721, allocations: 12.24 MB / 0.6319 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.4722, allocations: 35.7 kB / 0.632 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004953/0.4727, allocations: 151.8 kB / 0.6321 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005199/0.4779, allocations: 2.859 MB / 0.6349 GB, free: 8.699 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/0.5015, allocations: 11.12 MB / 0.6458 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06896/0.5705, allocations: 40.58 MB / 0.6854 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.5808, allocations: 4.514 MB / 0.6898 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003565/0.5844, allocations: 2.255 MB / 0.692 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.5859, allocations: 1.315 MB / 0.6933 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.5859, allocations: 60.5 kB / 0.6933 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 5.079e-06/0.5859, allocations: 0 / 0.6933 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04857/0.6345, allocations: 18.76 MB / 0.7117 GB, free: 8.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.6346, allocations: 73.41 kB / 0.7117 GB, free: 8.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006276/0.6409, allocations: 3.172 MB / 0.7148 GB, free: 5.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004366/0.6413, allocations: 61.7 kB / 0.7149 GB, free: 5.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003044/0.6443, allocations: 3.241 MB / 0.718 GB, free: 1.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/0.6459, allocations: 1.023 MB / 0.719 GB, free: 0.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002704/0.6486, allocations: 1.192 MB / 0.7202 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6488, allocations: 301.1 kB / 0.7205 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004287/0.6531, allocations: 2.471 MB / 0.7229 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007149/0.6602, allocations: 5.723 MB / 0.7285 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2574/0.9176, allocations: 8.988 MB / 0.7373 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.645e-05/0.9177, allocations: 34.78 kB / 0.7373 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01378/0.9315, allocations: 9.019 MB / 0.7461 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/0.9315, allocations: 54.33 kB / 0.7462 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.9316, allocations: 120.7 kB / 0.7463 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002892/0.9345, allocations: 1.05 MB / 0.7473 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/0.9385, allocations: 1.347 MB / 0.7486 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/0.9444, allocations: 5.534 MB / 0.754 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/0.9479, allocations: 317.1 kB / 0.7543 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/0.9483, allocations: 347.4 kB / 0.7547 GB, free: 140.6 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.003356/0.9517, allocations: 2.408 MB / 0.757 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005564/0.9522, allocations: 330.2 kB / 0.7573 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00736/0.9596, allocations: 5.357 MB / 0.7626 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.573e-05/0.9596, allocations: 51.89 kB / 0.7626 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.9596, allocations: 7.938 kB / 0.7626 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.9597, allocations: 11.34 kB / 0.7626 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.9773, allocations: 13 MB / 0.7753 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.9773, allocations: 8 kB / 0.7753 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.9789, allocations: 423.3 kB / 0.7757 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/0.9814, allocations: 0.893 MB / 0.7766 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.9816, allocations: 52 kB / 0.7767 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004732/0.9863, allocations: 4.84 MB / 0.7814 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.9863, allocations: 15.94 kB / 0.7814 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008773/0.9951, allocations: 8.022 MB / 0.7892 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007785/0.9959, allocations: 384.9 kB / 0.7896 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/0.9962, allocations: 47.98 kB / 0.7896 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.9975, allocations: 154.6 kB / 0.7898 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.9978, allocations: 174.4 kB / 0.79 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.9979, allocations: 80.23 kB / 0.79 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002141/1, allocations: 1.956 MB / 0.7919 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1, allocations: 0 / 0.7919 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003683/1.004, allocations: 1.063 MB / 0.793 GB, free: 103.7 MB / 0.5606 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.0003987/1.004, allocations: 202.3 kB / 0.7932 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006271/1.01, allocations: 5.793 MB / 0.7988 GB, free: 97.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.01, allocations: 4 kB / 0.7988 GB, free: 97.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/1.013, allocations: 2.094 MB / 0.8009 GB, free: 95.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/1.014, allocations: 458.6 kB / 0.8013 GB, free: 95.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.028, allocations: 11.54 MB / 0.8126 GB, free: 83.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003036/1.031, allocations: 3.708 MB / 0.8162 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003801/1.035, allocations: 2.149 MB / 0.8183 GB, free: 77.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/1.036, allocations: 235.4 kB / 0.8185 GB, free: 77.38 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/1.036, allocations: 0 / 0.8185 GB, free: 77.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.05452/1.09, allocations: 36.52 MB / 0.8542 GB, free: 41.05 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 -s gbode -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: 7.069251934997737]