Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.002033/0.002033, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002595/0.002595, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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.558/1.558, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 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.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 58.58 kB / 347.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2988, allocations: 49.15 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01009/0.3089, allocations: 9.414 MB / 406.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007489/0.3164, allocations: 3.701 MB / 410 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.3179, allocations: 70.38 kB / 410 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.322, allocations: 2.189 MB / 412.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.3271, allocations: 1.901 MB / 414.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.3288, allocations: 0.7177 MB / 414.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006579/0.3354, allocations: 4.27 MB / 419.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003406/0.3388, allocations: 2.459 MB / 421.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.3417, allocations: 1.521 MB / 423.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.3454, allocations: 2.157 MB / 425.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008722/0.3463, allocations: 296 kB / 425.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.3486, allocations: 0.8348 MB / 426.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.3506, allocations: 1.873 MB / 428.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.3528, allocations: 1.569 MB / 429.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00905/0.3619, allocations: 6.479 MB / 436.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3619, allocations: 0 / 436.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3619, allocations: 0 / 436.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002121/0.3621, allocations: 0 / 436.3 MB, free: 11.61 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.01019/0.3723, allocations: 4.664 MB / 441 MB, free: 6.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3723, allocations: 11.98 kB / 441 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/0.3799, allocations: 1.948 MB / 442.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/0.386, allocations: 2.335 MB / 445.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.3862, allocations: 229.6 kB / 445.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007778/0.387, allocations: 291.8 kB / 445.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/0.4055, allocations: 9.668 MB / 455.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.4056, allocations: 47.58 kB / 455.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003978/0.406, allocations: 147.8 kB / 455.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003125/0.4092, allocations: 1.915 MB / 457.5 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.4265, allocations: 7.621 MB / 465.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04766/0.4742, allocations: 35.23 MB / 0.4887 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006857/0.4811, allocations: 2.322 MB / 0.4909 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.4824, allocations: 0.7987 MB / 0.4917 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006116/0.4886, allocations: 2.828 MB / 0.4945 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.4886, allocations: 47.22 kB / 0.4945 GB, free: 3.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 4.208e-06/0.4886, allocations: 0 / 0.4945 GB, free: 3.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=152): time 0.02335/0.512, allocations: 9.111 MB / 0.5034 GB, free: 10.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.5121, allocations: 141.5 kB / 0.5036 GB, free: 10.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005449/0.5175, allocations: 3.723 MB / 0.5072 GB, free: 6.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.5177, allocations: 49.7 kB / 0.5072 GB, free: 6.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002533/0.5203, allocations: 3.241 MB / 0.5104 GB, free: 2.969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000782/0.521, allocations: 0.6397 MB / 0.511 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/0.5226, allocations: 1.175 MB / 0.5122 GB, free: 1.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5228, allocations: 309.1 kB / 0.5125 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.5254, allocations: 1.581 MB / 0.514 GB, free: 15.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006095/0.5315, allocations: 5.351 MB / 0.5192 GB, free: 8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.5418, allocations: 7.553 MB / 0.5266 GB, free: 14.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/0.542, allocations: 40 kB / 0.5267 GB, free: 14.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01526/0.5572, allocations: 6.638 MB / 0.5331 GB, free: 7.879 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.5573, allocations: 64 kB / 0.5332 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/0.5575, allocations: 132 kB / 0.5333 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.5577, allocations: 176 kB / 0.5335 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/0.5618, allocations: 1.389 MB / 0.5348 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002422/0.5621, allocations: 263 kB / 0.5351 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/0.5657, allocations: 291.7 kB / 0.5354 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005364/0.5662, allocations: 368 kB / 0.5357 GB, free: 5.223 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (746): * Single equations (assignments): 743 * Array equations: 3 * 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.003063/0.5693, allocations: 1.974 MB / 0.5377 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005746/0.5699, allocations: 321.9 kB / 0.538 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.5721, allocations: 1.215 MB / 0.5391 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.5721, allocations: 16 kB / 0.5392 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.5721, allocations: 3.984 kB / 0.5392 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.5722, allocations: 3.984 kB / 0.5392 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.5822, allocations: 4.593 MB / 0.5437 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/0.5822, allocations: 16 kB / 0.5437 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009955/0.5832, allocations: 271.6 kB / 0.5439 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/0.5832, allocations: 31.92 kB / 0.544 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-05/0.5833, allocations: 52.59 kB / 0.544 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.301e-05/0.5834, allocations: 35.86 kB / 0.544 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.293e-05/0.5834, allocations: 31.88 kB / 0.5441 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.5877, allocations: 3.193 MB / 0.5472 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.5889, allocations: 425.6 kB / 0.5476 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.5892, allocations: 56.05 kB / 0.5477 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5902, allocations: 55.95 kB / 0.5477 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.5904, allocations: 159.2 kB / 0.5479 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.5905, allocations: 64 kB / 0.5479 GB, free: 8.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00342/0.5939, allocations: 2.142 MB / 0.55 GB, free: 6.031 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5939, allocations: 4 kB / 0.55 GB, free: 6.027 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004918/0.5988, allocations: 0.8593 MB / 0.5509 GB, free: 5.168 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 4 (p1.s,p1.v,p2.s,p2.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 (142): * Single equations (assignments): 139 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0004606/0.5993, allocations: 198.7 kB / 0.551 GB, free: 4.965 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00672/0.606, allocations: 3.546 MB / 0.5545 GB, free: 1.441 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-05/0.6061, allocations: 4 kB / 0.5545 GB, free: 1.438 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.6073, allocations: 0.6832 MB / 0.5552 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/0.6102, allocations: 400.5 kB / 0.5556 GB, free: 372 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2341/0.8443, allocations: 8.622 MB / 0.564 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004266/0.8486, allocations: 2.558 MB / 0.5665 GB, free: 141.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004316/0.8529, allocations: 1.73 MB / 0.5682 GB, free: 140.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/0.8535, allocations: 218.8 kB / 0.5684 GB, free: 140.9 MB / 478.1 MB Notification: Performance of SimCode: time 9.71e-07/0.8535, allocations: 0 / 0.5684 GB, free: 140.9 MB / 478.1 MB Notification: Performance of Templates: time 0.05073/0.9042, allocations: 23.74 MB / 0.5916 GB, free: 126.5 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.569253442808986]