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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.48/1.48, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 51.92 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2965, allocations: 49.15 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01057/0.3071, allocations: 10.81 MB / 407.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008649/0.3157, allocations: 3.928 MB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.3177, allocations: 71.69 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004737/0.3225, allocations: 2.282 MB / 413.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.3279, allocations: 1.886 MB / 415.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.3298, allocations: 0.7203 MB / 416.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007638/0.3374, allocations: 4.266 MB / 420.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004275/0.3417, allocations: 2.233 MB / 423 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.3451, allocations: 1.523 MB / 424.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/0.3493, allocations: 2.27 MB / 426.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.3504, allocations: 292 kB / 427.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.353, allocations: 0.9597 MB / 428.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.3558, allocations: 1.877 MB / 429.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004296/0.3601, allocations: 2.108 MB / 432 MB, free: 80 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3718, allocations: 6.455 MB / 438.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3718, allocations: 0 / 438.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3718, allocations: 0 / 438.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000258/0.3721, allocations: 0 / 438.5 MB, free: 9.602 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.01101/0.3831, allocations: 4.66 MB / 443.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3831, allocations: 15.98 kB / 443.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00803/0.3912, allocations: 1.948 MB / 445.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/0.3967, allocations: 2.319 MB / 447.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.3969, allocations: 229.6 kB / 447.7 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009751/0.3979, allocations: 291.8 kB / 448 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02004/0.418, allocations: 9.639 MB / 457.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.4181, allocations: 51.56 kB / 457.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008272/0.4189, allocations: 147.8 kB / 457.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003396/0.4223, allocations: 1.923 MB / 459.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.44, allocations: 7.633 MB / 467.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05159/0.4915, allocations: 37.54 MB / 0.493 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007284/0.4988, allocations: 2.328 MB / 0.4953 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.5003, allocations: 0.791 MB / 0.4961 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006428/0.5068, allocations: 3.086 MB / 0.4991 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.5068, allocations: 55.16 kB / 0.4992 GB, free: 14.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 4.157e-06/0.5068, allocations: 0 / 0.4992 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=152): time 0.02621/0.533, allocations: 9.139 MB / 0.5081 GB, free: 5.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.5331, allocations: 145.5 kB / 0.5082 GB, free: 5.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007124/0.5403, allocations: 3.949 MB / 0.5121 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.5405, allocations: 49.7 kB / 0.5121 GB, free: 1.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003003/0.5435, allocations: 3.217 MB / 0.5153 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008181/0.5443, allocations: 0.6359 MB / 0.5159 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002176/0.5465, allocations: 1.175 MB / 0.517 GB, free: 12.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5466, allocations: 305.1 kB / 0.5173 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/0.5497, allocations: 1.577 MB / 0.5189 GB, free: 10.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006204/0.5559, allocations: 5.354 MB / 0.5241 GB, free: 3.215 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009671/0.5655, allocations: 7.552 MB / 0.5315 GB, free: 9.781 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/0.5657, allocations: 40 kB / 0.5315 GB, free: 9.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01331/0.579, allocations: 6.666 MB / 0.538 GB, free: 3.074 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.5791, allocations: 64 kB / 0.5381 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002854/0.5794, allocations: 136 kB / 0.5382 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.5797, allocations: 176 kB / 0.5384 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004554/0.5842, allocations: 1.388 MB / 0.5397 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002863/0.5845, allocations: 259.3 kB / 0.54 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.5886, allocations: 287.7 kB / 0.5403 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007683/0.5893, allocations: 371.9 kB / 0.5406 GB, free: 428 kB / 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.003871/0.5932, allocations: 1.974 MB / 0.5425 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000759/0.594, allocations: 357.6 kB / 0.5429 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.5965, allocations: 1.25 MB / 0.5441 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.5965, allocations: 19.98 kB / 0.5441 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5966, allocations: 0 / 0.5441 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.5966, allocations: 11.97 kB / 0.5441 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.6116, allocations: 5.732 MB / 0.5497 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.815e-05/0.6117, allocations: 16 kB / 0.5497 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.6128, allocations: 283.4 kB / 0.55 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.133e-05/0.6128, allocations: 24 kB / 0.55 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.6129, allocations: 48 kB / 0.5501 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.177e-05/0.613, allocations: 35.86 kB / 0.5501 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-05/0.613, allocations: 31.94 kB / 0.5501 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004821/0.6178, allocations: 3.246 MB / 0.5533 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/0.6196, allocations: 461.4 kB / 0.5538 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008592/0.6204, allocations: 51.98 kB / 0.5538 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.6221, allocations: 51.97 kB / 0.5539 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.6224, allocations: 159.8 kB / 0.554 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.6225, allocations: 64 kB / 0.5541 GB, free: 2.031 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.2577/0.8802, allocations: 2.445 MB / 0.5565 GB, free: 140.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8802, allocations: 3.594 kB / 0.5565 GB, free: 140.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005306/0.8855, allocations: 0.8676 MB / 0.5573 GB, free: 140.8 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.0003819/0.8859, allocations: 202.8 kB / 0.5575 GB, free: 140.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005733/0.8916, allocations: 3.543 MB / 0.561 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.914e-05/0.8917, allocations: 2.594 kB / 0.561 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.8927, allocations: 0.6796 MB / 0.5616 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/0.8956, allocations: 447.8 kB / 0.5621 GB, free: 139.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.91, allocations: 8.68 MB / 0.5705 GB, free: 135.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003323/0.9133, allocations: 3.1 MB / 0.5736 GB, free: 134 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003634/0.917, allocations: 1.773 MB / 0.5753 GB, free: 133.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.9174, allocations: 232.5 kB / 0.5755 GB, free: 133.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/0.9174, allocations: 0 / 0.5755 GB, free: 133.8 MB / 478.1 MB Notification: Performance of Templates: time 0.05306/0.9705, allocations: 28.04 MB / 0.6029 GB, free: 114.7 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.682860374450684]