Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 160.2 kB / 25.01 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.465e-05, allocations: 2.312 kB / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01508/0.01511, allocations: 9.095 MB / 259.5 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009559/0.02467, allocations: 3.688 MB / 263.2 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.02667, allocations: 59.75 kB / 263.2 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005157/0.03183, allocations: 2.164 MB / 265.4 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.03763, allocations: 1.746 MB / 267.1 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.03983, allocations: 0.756 MB / 267.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006186/0.04602, allocations: 3.726 MB / 271.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005464/0.05148, allocations: 2.559 MB / 274.2 MB, free: 12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.05597, allocations: 1.941 MB / 276.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.05953, allocations: 1.898 MB / 278 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008054/0.06033, allocations: 264 kB / 278.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.06293, allocations: 1.065 MB / 279.3 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002476/0.06541, allocations: 1.695 MB / 281 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002031/0.06744, allocations: 1.071 MB / 282.1 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008136/0.07558, allocations: 6 MB / 288.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.07558, allocations: 0 / 288.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.07558, allocations: 0 / 288.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001263/0.07571, allocations: 3.938 kB / 288.1 MB, free: 14.03 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.008794/0.0845, allocations: 4.168 MB / 292.3 MB, free: 9.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.08455, allocations: 15.98 kB / 292.3 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00821/0.09276, allocations: 2.421 MB / 294.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/0.09753, allocations: 1.892 MB / 296.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.09774, allocations: 213.1 kB / 296.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007008/0.09845, allocations: 267.9 kB / 297.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1307/0.2292, allocations: 10.03 MB / 307.1 MB, free: 52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.2293, allocations: 40.84 kB / 307.1 MB, free: 51.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004077/0.2297, allocations: 135.9 kB / 307.3 MB, free: 51.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/0.2328, allocations: 1.853 MB / 309.1 MB, free: 51.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.2493, allocations: 8.516 MB / 317.6 MB, free: 48.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/0.282, allocations: 34.84 MB / 352.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008179/0.2901, allocations: 3.196 MB / 355.7 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.292, allocations: 1.689 MB / 357.4 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008518/0.3005, allocations: 6.32 MB / 363.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3006, allocations: 48.44 kB / 363.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=150): time 3.877e-06/0.3006, allocations: 4 kB / 363.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=166): time 0.05697/0.3575, allocations: 18.06 MB / 381.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.3577, allocations: 145.5 kB / 381.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005219/0.3629, allocations: 3.352 MB / 385.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003043/0.3632, allocations: 53.7 kB / 385.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002492/0.3657, allocations: 2.839 MB / 388.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.3668, allocations: 0.6728 MB / 388.8 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001683/0.3685, allocations: 1.104 MB / 390 MB, free: 7.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3687, allocations: 301.1 kB / 390.2 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003392/0.3721, allocations: 1.959 MB / 392.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007095/0.3792, allocations: 5.377 MB / 397.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/0.3908, allocations: 7.941 MB / 405.5 MB, free: 4.422 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.042e-05/0.3909, allocations: 32 kB / 405.6 MB, free: 4.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.0187/0.4096, allocations: 8.473 MB / 414 MB, free: 11.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.41, allocations: 56 kB / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/0.4101, allocations: 120 kB / 414.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005013/0.4151, allocations: 1.394 MB / 415.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004659/0.4198, allocations: 1.267 MB / 416.9 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.4359, allocations: 6.39 MB / 423.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006884/0.4427, allocations: 359.6 kB / 423.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/0.4438, allocations: 336 kB / 423.9 MB, free: 1.898 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (685): * Single equations (assignments): 681 * Array equations: 3 * 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,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004781/0.4486, allocations: 1.82 MB / 425.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/0.4497, allocations: 326.1 kB / 426.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.4606, allocations: 3.316 MB / 429.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.462e-05/0.4607, allocations: 20 kB / 429.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.4607, allocations: 7.938 kB / 429.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/0.4607, allocations: 7.969 kB / 429.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.4767, allocations: 6.661 MB / 436.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.4768, allocations: 4 kB / 436.1 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.4781, allocations: 239.6 kB / 436.3 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004472/0.4825, allocations: 1.206 MB / 437.5 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.4828, allocations: 38.66 kB / 437.6 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1446/0.6273, allocations: 6.009 MB / 443.6 MB, free: 117.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6273, allocations: 1.875 kB / 443.6 MB, free: 117.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.6378, allocations: 5.716 MB / 449.3 MB, free: 116 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.6393, allocations: 0.4962 MB / 449.8 MB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.6396, allocations: 27.34 kB / 449.8 MB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.641, allocations: 136.1 kB / 449.9 MB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.6414, allocations: 95.08 kB / 450 MB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.6415, allocations: 45.28 kB / 450.1 MB, free: 115.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003213/0.6447, allocations: 1.922 MB / 452 MB, free: 115.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6447, allocations: 0 / 452 MB, free: 115.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005084/0.6498, allocations: 0.9974 MB / 453 MB, free: 115.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * Array equations: 3 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004872/0.6503, allocations: 195.2 kB / 453.2 MB, free: 115 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006496/0.6568, allocations: 4.602 MB / 457.8 MB, free: 113.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6568, allocations: 3.969 kB / 457.8 MB, free: 113.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.6588, allocations: 1.436 MB / 459.2 MB, free: 112.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.6609, allocations: 323.3 kB / 459.5 MB, free: 112.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.6739, allocations: 8.191 MB / 467.7 MB, free: 108.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.6763, allocations: 2.306 MB / 470 MB, free: 106.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003159/0.6795, allocations: 1.674 MB / 471.7 MB, free: 105.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/0.6801, allocations: 211.2 kB / 471.9 MB, free: 105.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.813e-06/0.6801, allocations: 0 / 471.9 MB, free: 105.6 MB / 362.7 MB Notification: Performance of Templates: time 0.04734/0.7274, allocations: 29.46 MB / 0.4896 GB, free: 76.24 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.454393333988264]