Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001354/0.001354, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001597/0.001597, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.46/1.46, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB
"
[Timeout remaining time 178]
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(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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.275, allocations: 53.36 MB / 432.1 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01301/0.2881, allocations: 10.34 MB / 442.5 MB, free: 12.69 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009359/0.2974, allocations: 3.929 MB / 446.4 MB, free: 8.75 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.2995, allocations: 67.69 kB / 446.5 MB, free: 8.684 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004934/0.3044, allocations: 2.106 MB / 448.6 MB, free: 6.57 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00544/0.3098, allocations: 1.646 MB / 450.2 MB, free: 4.918 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.312, allocations: 0.6979 MB / 450.9 MB, free: 4.219 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006161/0.3182, allocations: 3.388 MB / 454.3 MB, free: 0.8242 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.004017/0.3222, allocations: 2.02 MB / 456.3 MB, free: 14.75 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.325, allocations: 1.277 MB / 457.6 MB, free: 13.47 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003445/0.3285, allocations: 1.896 MB / 459.5 MB, free: 11.57 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001129/0.3296, allocations: 260 kB / 459.7 MB, free: 11.32 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.3323, allocations: 1.158 MB / 460.9 MB, free: 10.16 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002005/0.3343, allocations: 1.593 MB / 462.5 MB, free: 8.559 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002291/0.3366, allocations: 1.848 MB / 464.3 MB, free: 6.699 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007737/0.3443, allocations: 5.909 MB / 470.3 MB, free: 0.7695 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.3443, allocations: 4 kB / 470.3 MB, free: 0.7656 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.3443, allocations: 0 / 470.3 MB, free: 0.7656 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.000167/0.3445, allocations: 0 / 470.3 MB, free: 0.7656 MB / 366.1 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.00918/0.3537, allocations: 4.137 MB / 474.4 MB, free: 12.57 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3537, allocations: 8.031 kB / 474.4 MB, free: 12.56 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00686/0.3606, allocations: 1.878 MB / 476.3 MB, free: 10.68 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004152/0.3647, allocations: 1.818 MB / 478.1 MB, free: 8.82 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.3649, allocations: 209.2 kB / 478.3 MB, free: 8.613 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005535/0.3655, allocations: 267.8 kB / 478.6 MB, free: 8.352 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/0.3861, allocations: 10.01 MB / 488.6 MB, free: 13.66 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.3862, allocations: 43.64 kB / 488.6 MB, free: 13.62 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000449/0.3867, allocations: 131.9 kB / 488.7 MB, free: 13.49 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003643/0.3903, allocations: 1.856 MB / 490.6 MB, free: 11.64 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.4104, allocations: 8.559 MB / 499.2 MB, free: 3.07 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05196/0.4624, allocations: 36.67 MB / 0.5233 GB, free: 13.35 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.4726, allocations: 3.09 MB / 0.5263 GB, free: 10.23 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002672/0.4753, allocations: 1.708 MB / 0.528 GB, free: 8.504 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.4872, allocations: 6.632 MB / 0.5344 GB, free: 1.828 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.4873, allocations: 47.56 kB / 0.5345 GB, free: 1.773 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=150): time 4.97e-06/0.4873, allocations: 3.938 kB / 0.5345 GB, free: 1.77 MB / 446.1 MB
Notification: Performance of matching and sorting (n=166): time 0.2895/0.7768, allocations: 17.49 MB / 0.5516 GB, free: 98.16 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.7769, allocations: 144 kB / 0.5517 GB, free: 98 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/0.7803, allocations: 3.473 MB / 0.5551 GB, free: 95.64 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.7805, allocations: 45.7 kB / 0.5551 GB, free: 95.59 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0009996/0.7815, allocations: 2.856 MB / 0.5579 GB, free: 93 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.7819, allocations: 0.6726 MB / 0.5586 GB, free: 92.34 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.7829, allocations: 1.12 MB / 0.5597 GB, free: 91.21 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 4.27e-05/0.7829, allocations: 305.1 kB / 0.56 GB, free: 90.91 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.7851, allocations: 1.963 MB / 0.5619 GB, free: 88.94 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/0.7882, allocations: 5.389 MB / 0.5672 GB, free: 81.84 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00562/0.7938, allocations: 7.952 MB / 0.5749 GB, free: 72.2 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.72e-05/0.7938, allocations: 40 kB / 0.575 GB, free: 72.16 MB / 446.1 MB
Notification: Performance of matching and sorting (n=728) (initialization): time 0.01172/0.8055, allocations: 8.19 MB / 0.583 GB, free: 63.96 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/0.8056, allocations: 59.98 kB / 0.583 GB, free: 63.9 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.8057, allocations: 124.9 kB / 0.5831 GB, free: 63.78 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.8096, allocations: 1.299 MB / 0.5844 GB, free: 62.48 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/0.8137, allocations: 1.275 MB / 0.5856 GB, free: 61.2 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007842/0.8215, allocations: 6.439 MB / 0.5919 GB, free: 54.65 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/0.8258, allocations: 311.7 kB / 0.5922 GB, free: 54.34 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006115/0.8264, allocations: 340 kB / 0.5926 GB, free: 54.01 MB / 446.1 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.0024/0.8288, allocations: 1.808 MB / 0.5943 GB, free: 52.2 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004937/0.8293, allocations: 329.4 kB / 0.5946 GB, free: 51.88 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/0.8357, allocations: 3.365 MB / 0.5979 GB, free: 48.49 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.8357, allocations: 20 kB / 0.5979 GB, free: 48.47 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.8357, allocations: 4 kB / 0.5979 GB, free: 48.47 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.8357, allocations: 11.97 kB / 0.598 GB, free: 48.46 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.848, allocations: 7.544 MB / 0.6053 GB, free: 40.88 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.848, allocations: 3.984 kB / 0.6053 GB, free: 40.88 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.8491, allocations: 243.7 kB / 0.6056 GB, free: 40.64 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00341/0.8525, allocations: 1.119 MB / 0.6066 GB, free: 39.52 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.8527, allocations: 31.98 kB / 0.6067 GB, free: 39.48 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006938/0.8596, allocations: 6.082 MB / 0.6126 GB, free: 33.3 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.8596, allocations: 0 / 0.6126 GB, free: 33.3 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008761/0.8684, allocations: 5.75 MB / 0.6182 GB, free: 27.52 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007394/0.8691, allocations: 285.8 kB / 0.6185 GB, free: 27.24 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/0.8694, allocations: 28 kB / 0.6185 GB, free: 27.21 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.8707, allocations: 99.3 kB / 0.6186 GB, free: 27.12 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.8709, allocations: 88.83 kB / 0.6187 GB, free: 27.03 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.8711, allocations: 43.98 kB / 0.6188 GB, free: 26.99 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002378/0.8734, allocations: 2.142 MB / 0.6208 GB, free: 24.86 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.8734, allocations: 4 kB / 0.6209 GB, free: 24.85 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003578/0.877, allocations: 0.8983 MB / 0.6217 GB, free: 23.95 MB / 446.1 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.0003271/0.8773, allocations: 158.8 kB / 0.6219 GB, free: 23.79 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.006019/0.8834, allocations: 4.615 MB / 0.6264 GB, free: 19.2 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8834, allocations: 0 / 0.6264 GB, free: 19.2 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001879/0.8852, allocations: 1.465 MB / 0.6278 GB, free: 17.71 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.8871, allocations: 364.3 kB / 0.6282 GB, free: 17.37 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.8975, allocations: 8.207 MB / 0.6362 GB, free: 9.121 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/0.8997, allocations: 2.843 MB / 0.639 GB, free: 6.246 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.00305/0.9027, allocations: 1.703 MB / 0.6406 GB, free: 4.539 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.9032, allocations: 219.4 kB / 0.6408 GB, free: 4.328 MB / 446.1 MB
Notification: Performance of SimCode: time 9.32e-07/0.9032, allocations: 0 / 0.6408 GB, free: 4.328 MB / 446.1 MB
Notification: Performance of Templates: time 0.06785/0.9711, allocations: 35.16 MB / 0.6752 GB, free: 1.406 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.699754703789949]