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.002607/0.002607, allocations: 99.53 kB / 21.74 MB, free: 2.688 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.002082/0.002082, allocations: 161.7 kB / 25.03 MB, free: 8.926 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.387/1.387, allocations: 158.6 MB / 186.8 MB, free: 2.922 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.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.03e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01494/0.01497, allocations: 10.39 MB / 260.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.02509, allocations: 3.799 MB / 264.6 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.0273, allocations: 71.69 kB / 264.6 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005852/0.03315, allocations: 2.394 MB / 267 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.03887, allocations: 1.96 MB / 269 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.04124, allocations: 0.8031 MB / 269.8 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007821/0.04906, allocations: 4.903 MB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005653/0.05471, allocations: 3.056 MB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.06012, allocations: 2.323 MB / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004852/0.06497, allocations: 2.428 MB / 282.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.06616, allocations: 300 kB / 282.8 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.06877, allocations: 0.8972 MB / 283.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003075/0.07184, allocations: 1.983 MB / 285.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.07458, allocations: 1.23 MB / 286.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.08465, allocations: 6.486 MB / 293.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.08466, allocations: 4 kB / 293.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.08466, allocations: 0 / 293.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003106/0.08497, allocations: 0 / 293.4 MB, free: 12.62 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: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.01489/0.09986, allocations: 5.496 MB / 298.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.0999, allocations: 15.92 kB / 298.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00934/0.1092, allocations: 2.459 MB / 301.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/0.1154, allocations: 2.056 MB / 303.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.1157, allocations: 221.6 kB / 303.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.1168, allocations: 303.8 kB / 303.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.1325, allocations: 6.445 MB / 310.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.1326, allocations: 39.64 kB / 310.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004474/0.133, allocations: 147.8 kB / 310.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/0.1366, allocations: 1.927 MB / 312.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.1485, allocations: 3.264 MB / 315.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1954/0.3438, allocations: 47.35 MB / 363.1 MB, free: 61.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005432/0.3493, allocations: 1.711 MB / 364.8 MB, free: 61.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007771/0.35, allocations: 419.4 kB / 365.2 MB, free: 61.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005764/0.3558, allocations: 2.738 MB / 368 MB, free: 60.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3558, allocations: 58.83 kB / 368 MB, free: 60.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 4.138e-06/0.3558, allocations: 0 / 368 MB, free: 60.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=152): time 0.02029/0.3761, allocations: 7.891 MB / 375.9 MB, free: 57.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.3762, allocations: 144.7 kB / 376 MB, free: 57.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005115/0.3813, allocations: 4.258 MB / 380.3 MB, free: 55.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002082/0.3815, allocations: 50.33 kB / 380.4 MB, free: 55.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.3833, allocations: 3.56 MB / 383.9 MB, free: 51.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/0.384, allocations: 0.6893 MB / 384.6 MB, free: 50.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.3854, allocations: 1.46 MB / 386.1 MB, free: 49.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.3855, allocations: 478.7 kB / 386.5 MB, free: 48.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.3867, allocations: 0.6166 MB / 387.1 MB, free: 48.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/0.3897, allocations: 6.384 MB / 393.5 MB, free: 39.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006543/0.3962, allocations: 7.675 MB / 401.2 MB, free: 29.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/0.3963, allocations: 43.94 kB / 401.3 MB, free: 29.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.007929/0.4043, allocations: 5.062 MB / 406.3 MB, free: 24.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.4043, allocations: 64 kB / 406.4 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.646e-05/0.4044, allocations: 140.8 kB / 406.5 MB, free: 24.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.4046, allocations: 183.4 kB / 406.7 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/0.408, allocations: 1.388 MB / 408.1 MB, free: 22.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001304/0.4081, allocations: 259 kB / 408.3 MB, free: 22.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003677/0.4118, allocations: 379.3 kB / 408.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.4122, allocations: 360 kB / 409.1 MB, free: 21.56 MB / 330.7 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.001353/0.4135, allocations: 0.7433 MB / 409.8 MB, free: 20.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00052/0.4141, allocations: 361.9 kB / 410.2 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.4153, allocations: 0.7934 MB / 410.9 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.4153, allocations: 27.88 kB / 411 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4153, allocations: 0 / 411 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4153, allocations: 7.969 kB / 411 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007951/0.4233, allocations: 5.813 MB / 416.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.4233, allocations: 20 kB / 416.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.4242, allocations: 271.5 kB / 417.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.4242, allocations: 24 kB / 417.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.4243, allocations: 55.98 kB / 417.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/0.4243, allocations: 36.39 kB / 417.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/0.4243, allocations: 35.88 kB / 417.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.4267, allocations: 2.587 MB / 419.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.4279, allocations: 441.6 kB / 420.2 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.4283, allocations: 51.98 kB / 420.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.4295, allocations: 107.9 kB / 420.4 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.4297, allocations: 147.3 kB / 420.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.4297, allocations: 71.98 kB / 420.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002671/0.4324, allocations: 1.776 MB / 422.4 MB, free: 7.504 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4324, allocations: 0 / 422.4 MB, free: 7.504 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00533/0.4377, allocations: 0.9647 MB / 423.4 MB, free: 6.539 MB / 330.7 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.0004581/0.4382, allocations: 233.3 kB / 423.6 MB, free: 6.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004833/0.443, allocations: 2.802 MB / 426.4 MB, free: 3.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.556e-05/0.443, allocations: 4 kB / 426.4 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.4438, allocations: 0.5074 MB / 426.9 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.4465, allocations: 422.8 kB / 427.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.4596, allocations: 7.599 MB / 434.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/0.4633, allocations: 2.335 MB / 437.2 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004057/0.4673, allocations: 1.528 MB / 438.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/0.4679, allocations: 232.4 kB / 439 MB, free: 6.492 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4679, allocations: 0 / 439 MB, free: 6.492 MB / 346.7 MB Notification: Performance of Templates: time 0.05637/0.5243, allocations: 21.1 MB / 460.1 MB, free: 1.484 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 240] 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.084907540003769]