Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001865, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 67.83 kB / 369 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3035, allocations: 53.31 MB / 422.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.01294/0.3165, allocations: 10.72 MB / 433 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009022/0.3255, allocations: 3.911 MB / 436.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.3273, allocations: 55.88 kB / 437 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00459/0.3319, allocations: 2.258 MB / 439.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005054/0.3369, allocations: 1.84 MB / 441.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.3387, allocations: 0.7175 MB / 441.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006759/0.3455, allocations: 4.315 MB / 446.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003946/0.3494, allocations: 2.498 MB / 448.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.3523, allocations: 1.464 MB / 450 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/0.3562, allocations: 2.262 MB / 452.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.3573, allocations: 296 kB / 452.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.3597, allocations: 0.9479 MB / 453.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.362, allocations: 1.846 MB / 455.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00256/0.3646, allocations: 2.077 MB / 457.5 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008459/0.373, allocations: 6.38 MB / 463.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.373, allocations: 0 / 463.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.373, allocations: 0 / 463.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001803/0.3732, allocations: 4 kB / 463.9 MB, free: 14.04 MB / 382.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.008791/0.382, allocations: 4.681 MB / 468.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3821, allocations: 8.031 kB / 468.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007123/0.3892, allocations: 1.948 MB / 470.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.394, allocations: 2.243 MB / 472.7 MB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3942, allocations: 233.6 kB / 473 MB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006444/0.3948, allocations: 299.8 kB / 473.3 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.4115, allocations: 9.647 MB / 482.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.4117, allocations: 51.58 kB / 483 MB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003863/0.412, allocations: 147.8 kB / 483.1 MB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002949/0.415, allocations: 1.915 MB / 485 MB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.4303, allocations: 7.641 MB / 492.7 MB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05207/0.4824, allocations: 37.69 MB / 0.5179 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.4896, allocations: 2.788 MB / 0.5206 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.491, allocations: 0.791 MB / 0.5214 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006368/0.4974, allocations: 3.855 MB / 0.5252 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.4974, allocations: 47.2 kB / 0.5252 GB, free: 1.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 3.446e-06/0.4974, allocations: 0 / 0.5252 GB, free: 1.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=152): time 0.02245/0.5199, allocations: 9.276 MB / 0.5343 GB, free: 8.211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.52, allocations: 149.5 kB / 0.5344 GB, free: 8.035 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005789/0.5257, allocations: 3.913 MB / 0.5382 GB, free: 4.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.5259, allocations: 53.7 kB / 0.5383 GB, free: 4.082 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002611/0.5285, allocations: 3.209 MB / 0.5414 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006085/0.5291, allocations: 0.6319 MB / 0.542 GB, free: 212 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2341/0.7632, allocations: 1.172 MB / 0.5432 GB, free: 115.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.7633, allocations: 305.2 kB / 0.5435 GB, free: 115.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/0.7661, allocations: 1.584 MB / 0.545 GB, free: 114.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003726/0.7698, allocations: 5.365 MB / 0.5503 GB, free: 109.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006168/0.776, allocations: 7.551 MB / 0.5576 GB, free: 102.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.899e-05/0.7761, allocations: 38.62 kB / 0.5577 GB, free: 102.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.008059/0.7841, allocations: 6.686 MB / 0.5642 GB, free: 99.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/0.7842, allocations: 65.81 kB / 0.5643 GB, free: 99.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.7843, allocations: 133.4 kB / 0.5644 GB, free: 99.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.7845, allocations: 179 kB / 0.5646 GB, free: 99.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.7877, allocations: 1.398 MB / 0.5659 GB, free: 99.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001211/0.7878, allocations: 261.1 kB / 0.5662 GB, free: 98.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.7907, allocations: 287.7 kB / 0.5665 GB, free: 98.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.791, allocations: 364 kB / 0.5668 GB, free: 98.32 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.00194/0.793, allocations: 1.978 MB / 0.5687 GB, free: 96.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.7933, allocations: 352.5 kB / 0.5691 GB, free: 96.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.7938, allocations: 403.1 kB / 0.5695 GB, free: 96.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.7938, allocations: 20.62 kB / 0.5695 GB, free: 96.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.7938, allocations: 3.562 kB / 0.5695 GB, free: 96.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.7938, allocations: 3.844 kB / 0.5695 GB, free: 96.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006162/0.8, allocations: 5.757 MB / 0.5751 GB, free: 91.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.8, allocations: 16 kB / 0.5751 GB, free: 91.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008426/0.8008, allocations: 278.2 kB / 0.5754 GB, free: 90.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.8009, allocations: 24 kB / 0.5754 GB, free: 90.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.8009, allocations: 55.28 kB / 0.5755 GB, free: 90.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.79e-05/0.8009, allocations: 34.78 kB / 0.5755 GB, free: 90.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.8009, allocations: 28.25 kB / 0.5755 GB, free: 90.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.8036, allocations: 3.258 MB / 0.5787 GB, free: 87.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/0.8041, allocations: 425.4 kB / 0.5791 GB, free: 87.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.8044, allocations: 47.94 kB / 0.5792 GB, free: 87.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8055, allocations: 63.02 kB / 0.5792 GB, free: 87.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.8056, allocations: 147.4 kB / 0.5794 GB, free: 86.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/0.8057, allocations: 71.83 kB / 0.5794 GB, free: 86.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002513/0.8082, allocations: 2.43 MB / 0.5818 GB, free: 84.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8082, allocations: 0 / 0.5818 GB, free: 84.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003739/0.8119, allocations: 0.8468 MB / 0.5826 GB, free: 83.56 MB / 462.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.0003021/0.8122, allocations: 206.7 kB / 0.5828 GB, free: 83.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.8164, allocations: 3.554 MB / 0.5863 GB, free: 79.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.8164, allocations: 5.688 kB / 0.5863 GB, free: 79.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007356/0.8172, allocations: 0.6947 MB / 0.587 GB, free: 79.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.8193, allocations: 458.3 kB / 0.5874 GB, free: 78.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/0.8288, allocations: 8.629 MB / 0.5958 GB, free: 69.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/0.831, allocations: 3.101 MB / 0.5989 GB, free: 66.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002982/0.834, allocations: 1.76 MB / 0.6006 GB, free: 64.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.8344, allocations: 231.4 kB / 0.6008 GB, free: 64.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.8344, allocations: 0 / 0.6008 GB, free: 64.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04284/0.8772, allocations: 24.4 MB / 0.6246 GB, free: 40.52 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringMassSystem/SpringMassSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches