Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001349/0.001349, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 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.001465/0.001465, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 39.94 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2609, allocations: 53.37 MB / 431.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01262/0.2735, allocations: 10.29 MB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008201/0.2817, allocations: 3.834 MB / 445.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.2832, allocations: 71.62 kB / 445.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004409/0.2876, allocations: 1.978 MB / 447.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.2921, allocations: 1.673 MB / 449.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.2937, allocations: 0.616 MB / 450.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005086/0.2988, allocations: 3.358 MB / 453.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.3016, allocations: 2.123 MB / 455.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.3035, allocations: 1.257 MB / 456.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.306, allocations: 1.806 MB / 458.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004893/0.3065, allocations: 252 kB / 458.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.3086, allocations: 1.061 MB / 459.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.3102, allocations: 1.597 MB / 461.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.3123, allocations: 1.809 MB / 463.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007746/0.3201, allocations: 5.805 MB / 469.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3201, allocations: 0 / 469.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3201, allocations: 4 kB / 469.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.3202, allocations: 0 / 469.2 MB, free: 1.199 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008243/0.3284, allocations: 4.019 MB / 473.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3285, allocations: 12.03 kB / 473.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006236/0.3347, allocations: 1.796 MB / 475 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/0.339, allocations: 1.868 MB / 476.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.3392, allocations: 188.8 kB / 477 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006057/0.3398, allocations: 259.8 kB / 477.3 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/0.3552, allocations: 8.439 MB / 485.7 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.3553, allocations: 39.64 kB / 485.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/0.3557, allocations: 127.9 kB / 485.9 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003063/0.3588, allocations: 1.699 MB / 487.6 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.3736, allocations: 7.106 MB / 494.7 MB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04603/0.4196, allocations: 33.97 MB / 0.5163 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007393/0.427, allocations: 2.723 MB / 0.5189 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.4293, allocations: 1.369 MB / 0.5203 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0075/0.4368, allocations: 3.681 MB / 0.5239 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.4368, allocations: 59.14 kB / 0.5239 GB, free: 11.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.188e-06/0.4369, allocations: 0 / 0.5239 GB, free: 11.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03023/0.4671, allocations: 11.51 MB / 0.5352 GB, free: 416 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/0.4672, allocations: 145.2 kB / 0.5353 GB, free: 240 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2137/0.6809, allocations: 3.712 MB / 0.5389 GB, free: 101.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.6811, allocations: 52.78 kB / 0.539 GB, free: 101.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.6824, allocations: 2.852 MB / 0.5418 GB, free: 99.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/0.6828, allocations: 0.5415 MB / 0.5423 GB, free: 99.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.6839, allocations: 1.084 MB / 0.5433 GB, free: 98.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.6839, allocations: 303.4 kB / 0.5436 GB, free: 98.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.686, allocations: 1.718 MB / 0.5453 GB, free: 98.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/0.6888, allocations: 5.129 MB / 0.5503 GB, free: 92.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/0.694, allocations: 7.431 MB / 0.5576 GB, free: 86.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.956e-05/0.694, allocations: 34 kB / 0.5576 GB, free: 86.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00831/0.7023, allocations: 6.75 MB / 0.5642 GB, free: 81.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.7024, allocations: 60.03 kB / 0.5643 GB, free: 81.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.041e-05/0.7025, allocations: 124 kB / 0.5644 GB, free: 81.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005185/0.703, allocations: 318.1 kB / 0.5647 GB, free: 81.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/0.7061, allocations: 1.244 MB / 0.5659 GB, free: 80.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.708, allocations: 2.395 MB / 0.5682 GB, free: 77.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.7111, allocations: 292.3 kB / 0.5685 GB, free: 77.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.7115, allocations: 328 kB / 0.5688 GB, free: 77.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001844/0.7133, allocations: 1.798 MB / 0.5706 GB, free: 75.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.7137, allocations: 325.7 kB / 0.5709 GB, free: 75.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.7174, allocations: 2.359 MB / 0.5732 GB, free: 72.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.7174, allocations: 12 kB / 0.5732 GB, free: 72.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.7174, allocations: 4 kB / 0.5732 GB, free: 72.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.7174, allocations: 3.984 kB / 0.5732 GB, free: 72.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00828/0.7257, allocations: 5.893 MB / 0.579 GB, free: 66.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.7257, allocations: 4 kB / 0.579 GB, free: 66.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.7264, allocations: 175.8 kB / 0.5791 GB, free: 66.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.7282, allocations: 0.7108 MB / 0.5798 GB, free: 65.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/0.7283, allocations: 23.98 kB / 0.5799 GB, free: 65.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.7328, allocations: 4.721 MB / 0.5845 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7328, allocations: 0 / 0.5845 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005113/0.7379, allocations: 4.35 MB / 0.5887 GB, free: 56.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/0.7387, allocations: 301.7 kB / 0.589 GB, free: 56.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.739, allocations: 17.08 kB / 0.589 GB, free: 56.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.74, allocations: 71.91 kB / 0.5891 GB, free: 56.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.7402, allocations: 68.52 kB / 0.5892 GB, free: 56.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/0.7402, allocations: 32 kB / 0.5892 GB, free: 56.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002487/0.7427, allocations: 2.311 MB / 0.5914 GB, free: 53.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7427, allocations: 7.938 kB / 0.5914 GB, free: 53.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003432/0.7462, allocations: 0.8081 MB / 0.5922 GB, free: 53.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002745/0.7464, allocations: 158.9 kB / 0.5924 GB, free: 52.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004357/0.7508, allocations: 3.908 MB / 0.5962 GB, free: 49.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7508, allocations: 4.25 kB / 0.5962 GB, free: 49.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.7519, allocations: 1.033 MB / 0.5972 GB, free: 48.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.7536, allocations: 384 kB / 0.5976 GB, free: 47.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00846/0.762, allocations: 7.429 MB / 0.6048 GB, free: 40.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.764, allocations: 2.777 MB / 0.6076 GB, free: 37.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002821/0.7668, allocations: 1.668 MB / 0.6092 GB, free: 35.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.7673, allocations: 211.4 kB / 0.6094 GB, free: 35.53 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.7673, allocations: 0 / 0.6094 GB, free: 35.53 MB / 446.1 MB Notification: Performance of Templates: time 0.049/0.8163, allocations: 31.75 MB / 0.6404 GB, free: 4.043 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.081692302133888]