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.00173/0.00173, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002096/0.002096, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.471/1.471, allocations: 230.3 MB / 258 MB, free: 8.238 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.2628/0.2628, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 179] 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.003653/0.003653, allocations: 75.88 kB / 0.4972 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4099, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01922/0.4291, allocations: 15.04 MB / 0.5764 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.4412, allocations: 4.473 MB / 0.5807 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00367/0.4449, allocations: 95.69 kB / 0.5808 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00562/0.4505, allocations: 2.262 MB / 0.583 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007062/0.4575, allocations: 2.051 MB / 0.585 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.4598, allocations: 0.616 MB / 0.5856 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008313/0.4681, allocations: 4.303 MB / 0.5898 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004209/0.4723, allocations: 2.405 MB / 0.5922 GB, free: 5.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.4758, allocations: 1.616 MB / 0.5938 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004272/0.4801, allocations: 2.434 MB / 0.5961 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009735/0.481, allocations: 343.9 kB / 0.5965 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.4836, allocations: 1.065 MB / 0.5975 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002359/0.4859, allocations: 2.006 MB / 0.5995 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003205/0.4891, allocations: 2.38 MB / 0.6018 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.4999, allocations: 7.775 MB / 0.6094 GB, free: 3.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4999, allocations: 0 / 0.6094 GB, free: 3.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4999, allocations: 4 kB / 0.6094 GB, free: 3.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002362/0.5002, allocations: 0 / 0.6094 GB, free: 3.418 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.0108/0.511, allocations: 5.125 MB / 0.6144 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.511, allocations: 8.031 kB / 0.6144 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.5218, allocations: 3.223 MB / 0.6175 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006234/0.528, allocations: 2.318 MB / 0.6198 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.5282, allocations: 250.6 kB / 0.62 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.5293, allocations: 327.7 kB / 0.6204 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02298/0.5523, allocations: 12.24 MB / 0.6323 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.5524, allocations: 35.69 kB / 0.6323 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004816/0.5529, allocations: 159.8 kB / 0.6325 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005024/0.5579, allocations: 2.847 MB / 0.6353 GB, free: 8.258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02563/0.5836, allocations: 11.13 MB / 0.6461 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07721/0.6608, allocations: 40.42 MB / 0.6856 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.6711, allocations: 3.594 MB / 0.6891 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004054/0.6751, allocations: 2.256 MB / 0.6913 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.6762, allocations: 449.2 kB / 0.6917 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.646e-05/0.6763, allocations: 52.56 kB / 0.6918 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 9.889e-06/0.6763, allocations: 0 / 0.6918 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.05/0.7263, allocations: 18.46 MB / 0.7098 GB, free: 10.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.7264, allocations: 77.41 kB / 0.7099 GB, free: 10.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006421/0.7328, allocations: 3.176 MB / 0.713 GB, free: 7.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004163/0.7333, allocations: 61.7 kB / 0.7131 GB, free: 7.391 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002823/0.7361, allocations: 3.241 MB / 0.7162 GB, free: 4.125 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001422/0.7375, allocations: 1.015 MB / 0.7172 GB, free: 3.102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/0.7402, allocations: 1.195 MB / 0.7184 GB, free: 1.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7403, allocations: 305.1 kB / 0.7187 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00429/0.7446, allocations: 2.46 MB / 0.7211 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007337/0.7519, allocations: 5.731 MB / 0.7267 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3774/1.129, allocations: 8.992 MB / 0.7355 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/1.129, allocations: 32.78 kB / 0.7355 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01461/1.144, allocations: 9.01 MB / 0.7443 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/1.144, allocations: 56.66 kB / 0.7443 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/1.144, allocations: 116.4 kB / 0.7444 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/1.147, allocations: 1.053 MB / 0.7455 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003861/1.151, allocations: 1.346 MB / 0.7468 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005895/1.157, allocations: 5.439 MB / 0.7521 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004311/1.161, allocations: 320.7 kB / 0.7524 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006217/1.162, allocations: 337.5 kB / 0.7527 GB, free: 143 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.003426/1.165, allocations: 2.414 MB / 0.7551 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/1.166, allocations: 332.2 kB / 0.7554 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007492/1.173, allocations: 5.349 MB / 0.7606 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.004e-05/1.173, allocations: 51.83 kB / 0.7607 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.173, allocations: 7.609 kB / 0.7607 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.173, allocations: 15.14 kB / 0.7607 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/1.191, allocations: 12.98 MB / 0.7734 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.191, allocations: 12 kB / 0.7734 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.192, allocations: 419.3 kB / 0.7738 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/1.195, allocations: 0.9003 MB / 0.7747 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/1.195, allocations: 51.98 kB / 0.7747 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/1.2, allocations: 4.737 MB / 0.7793 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.2, allocations: 15.94 kB / 0.7794 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009147/1.209, allocations: 8.025 MB / 0.7872 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008531/1.21, allocations: 309.7 kB / 0.7875 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003442/1.21, allocations: 51.98 kB / 0.7875 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.211, allocations: 151.2 kB / 0.7877 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/1.211, allocations: 177.4 kB / 0.7878 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.212, allocations: 76 kB / 0.7879 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002233/1.214, allocations: 1.96 MB / 0.7898 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.214, allocations: 0 / 0.7898 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003969/1.218, allocations: 1.066 MB / 0.7909 GB, free: 107.1 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.0004355/1.218, allocations: 194.1 kB / 0.7911 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007513/1.226, allocations: 5.789 MB / 0.7967 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.226, allocations: 4 kB / 0.7967 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002365/1.228, allocations: 2.098 MB / 0.7988 GB, free: 99.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.231, allocations: 460 kB / 0.7992 GB, free: 98.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/1.246, allocations: 11.52 MB / 0.8105 GB, free: 86.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003049/1.249, allocations: 3.712 MB / 0.8141 GB, free: 83.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003777/1.253, allocations: 2.153 MB / 0.8162 GB, free: 81.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/1.254, allocations: 239.4 kB / 0.8164 GB, free: 80.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.004e-06/1.254, allocations: 0 / 0.8164 GB, free: 80.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.05961/1.313, allocations: 39.09 MB / 0.8546 GB, free: 41.93 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.471639983355999]