Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.001633/0.001633, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.002084/0.002084, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.533/1.533, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001979/0.001979, allocations: 75.81 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2265, allocations: 53.31 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.03062/0.2571, allocations: 26.77 MB / 458.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01747/0.2746, allocations: 8.059 MB / 466.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004617/0.2792, allocations: 175.6 kB / 467.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02143/0.3006, allocations: 11.2 MB / 478.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.3107, allocations: 3.692 MB / 482 MB, free: 5.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006313/0.3171, allocations: 2.608 MB / 484.6 MB, free: 2.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01611/0.3332, allocations: 10.47 MB / 495 MB, free: 8.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01765/0.3508, allocations: 10.71 MB / 0.4939 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009512/0.3603, allocations: 5.229 MB / 0.499 GB, free: 8.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01201/0.3723, allocations: 7.234 MB / 0.5061 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004261/0.3766, allocations: 1.434 MB / 0.5075 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007152/0.3838, allocations: 2.779 MB / 0.5102 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009097/0.3929, allocations: 6.125 MB / 0.5162 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01227/0.4051, allocations: 6.825 MB / 0.5228 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4055/0.8106, allocations: 23.01 MB / 0.5453 GB, free: 39.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8106, allocations: 0 / 0.5453 GB, free: 39.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.8106, allocations: 0 / 0.5453 GB, free: 39.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005757/0.8112, allocations: 0 / 0.5453 GB, free: 39.14 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: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.03737/0.8485, allocations: 14.29 MB / 0.5593 GB, free: 34.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.8486, allocations: 9.906 kB / 0.5593 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.8635, allocations: 3.168 MB / 0.5624 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/0.8792, allocations: 6.971 MB / 0.5692 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005219/0.8797, allocations: 0.7451 MB / 0.5699 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00492/0.8846, allocations: 1.103 MB / 0.571 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0672/0.9518, allocations: 33.91 MB / 0.6041 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003025/0.9521, allocations: 75.7 kB / 0.6042 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002582/0.9547, allocations: 451.1 kB / 0.6046 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00591/0.9606, allocations: 4.563 MB / 0.609 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07523/1.036, allocations: 31.98 MB / 0.6403 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3839/1.42, allocations: 113.8 MB / 0.7514 GB, free: 192.4 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05272/1.472, allocations: 18.07 MB / 0.769 GB, free: 191.7 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01006/1.482, allocations: 9.02 MB / 0.7778 GB, free: 191.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04544/1.528, allocations: 32.34 MB / 0.8094 GB, free: 172.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/1.528, allocations: 84.81 kB / 0.8095 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=512): time 9.137e-06/1.528, allocations: 4.5 kB / 0.8095 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=773): time 0.7444/2.272, allocations: 163.7 MB / 0.9694 GB, free: 201.4 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/2.273, allocations: 204.9 kB / 0.9696 GB, free: 201.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009859/2.282, allocations: 7.984 MB / 0.9774 GB, free: 198.8 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.002049/2.284, allocations: 146.7 kB / 0.9775 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0032/2.288, allocations: 7.196 MB / 0.9845 GB, free: 193.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003096/2.291, allocations: 2.863 MB / 0.9873 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005406/2.296, allocations: 3.061 MB / 0.9903 GB, free: 190 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.607e-05/2.296, allocations: 301.1 kB / 0.9906 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01386/2.31, allocations: 11.24 MB / 1.002 GB, free: 185.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01686/2.327, allocations: 17.79 MB / 1.019 GB, free: 172 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03239/2.359, allocations: 30.24 MB / 1.048 GB, free: 141.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/2.359, allocations: 64 kB / 1.049 GB, free: 141.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.0427/2.402, allocations: 29.58 MB / 1.077 GB, free: 112.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/2.402, allocations: 99.56 kB / 1.078 GB, free: 112.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002344/2.402, allocations: 220 kB / 1.078 GB, free: 112.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/2.403, allocations: 315.3 kB / 1.078 GB, free: 112.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02087/2.424, allocations: 4.597 MB / 1.083 GB, free: 107.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003503/2.424, allocations: 450.3 kB / 1.083 GB, free: 107.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/2.438, allocations: 1.193 MB / 1.084 GB, free: 106 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003183/2.441, allocations: 0.7421 MB / 1.085 GB, free: 105.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1004 * Number of states: 0 () * Number of discrete variables: 102 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR3.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1905): * Single equations (assignments): 1896 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009724/2.451, allocations: 5.498 MB / 1.09 GB, free: 99.71 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/2.453, allocations: 0.8467 MB / 1.091 GB, free: 98.86 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02849/2.481, allocations: 21.36 MB / 1.112 GB, free: 77.43 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-05/2.481, allocations: 35.86 kB / 1.112 GB, free: 77.39 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/2.481, allocations: 5 kB / 1.112 GB, free: 77.39 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008277/2.49, allocations: 2.975 MB / 1.115 GB, free: 74.39 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003176/2.493, allocations: 120 kB / 1.115 GB, free: 74.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009061/2.502, allocations: 0.7956 MB / 1.116 GB, free: 73.47 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002336/2.504, allocations: 397.1 kB / 1.116 GB, free: 73.08 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03651/2.541, allocations: 21.92 MB / 1.138 GB, free: 51.21 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2526/2.793, allocations: 36.65 MB / 1.173 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01122/2.805, allocations: 9.48 MB / 1.183 GB, free: 182.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006423/2.811, allocations: 4.982 MB / 1.187 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of Backend: time 5.21e-07/2.811, allocations: 0 / 1.187 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02552/2.837, allocations: 14.74 MB / 1.202 GB, free: 175.2 MB / 0.5763 GB Notification: Performance of SimCode: time 0.03412/2.871, allocations: 22.95 MB / 1.224 GB, free: 161.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.4152/3.286, allocations: 191.6 MB / 1.411 GB, free: 194.4 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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: 11.832336369901896]