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.001463/0.001463, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001719/0.001719, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001595/0.001595, allocations: 43.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2427, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01191/0.2546, allocations: 8.989 MB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008138/0.2627, allocations: 3.6 MB / 444.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.2646, allocations: 75.62 kB / 444.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004556/0.2692, allocations: 1.9 MB / 446.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.2739, allocations: 1.681 MB / 447.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.2755, allocations: 0.616 MB / 448.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005265/0.2808, allocations: 3.356 MB / 451.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/0.2841, allocations: 2.099 MB / 453.9 MB, free: 280 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.2867, allocations: 1.257 MB / 455.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.2897, allocations: 1.717 MB / 456.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007723/0.2905, allocations: 252 kB / 457.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.2926, allocations: 0.9283 MB / 458 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.2946, allocations: 1.597 MB / 459.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.2968, allocations: 1.331 MB / 461 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006641/0.3034, allocations: 5.831 MB / 466.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3034, allocations: 0 / 466.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3034, allocations: 0 / 466.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.983e-05/0.3035, allocations: 0 / 466.8 MB, free: 3.32 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.006879/0.3104, allocations: 4.022 MB / 470.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3104, allocations: 8.031 kB / 470.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006248/0.3167, allocations: 1.796 MB / 472.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/0.3206, allocations: 1.876 MB / 474.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.3207, allocations: 188.8 kB / 474.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/0.3212, allocations: 259.8 kB / 474.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.3348, allocations: 8.464 MB / 483.4 MB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.3349, allocations: 43.62 kB / 483.4 MB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.3352, allocations: 127.9 kB / 483.6 MB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002941/0.3381, allocations: 1.695 MB / 485.3 MB, free: 88 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.3517, allocations: 7.094 MB / 492.4 MB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03928/0.391, allocations: 32.06 MB / 0.5121 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/0.3984, allocations: 2.72 MB / 0.5148 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.4003, allocations: 1.36 MB / 0.5161 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006232/0.4065, allocations: 3.301 MB / 0.5193 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.4066, allocations: 51.14 kB / 0.5194 GB, free: 420 kB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.236e-06/0.4066, allocations: 3.938 kB / 0.5194 GB, free: 416 kB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02845/0.435, allocations: 11.52 MB / 0.5306 GB, free: 4.812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.4351, allocations: 145.2 kB / 0.5308 GB, free: 4.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/0.4397, allocations: 3.423 MB / 0.5341 GB, free: 1.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.4398, allocations: 41.7 kB / 0.5342 GB, free: 1.156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2113/0.6511, allocations: 2.871 MB / 0.537 GB, free: 101.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000753/0.6519, allocations: 0.5426 MB / 0.5375 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001643/0.6535, allocations: 1.09 MB / 0.5386 GB, free: 101.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.6536, allocations: 307.9 kB / 0.5389 GB, free: 100.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/0.6559, allocations: 1.712 MB / 0.5405 GB, free: 100.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.6595, allocations: 5.13 MB / 0.5455 GB, free: 95.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005797/0.6653, allocations: 7.434 MB / 0.5528 GB, free: 88.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.485e-05/0.6654, allocations: 38.16 kB / 0.5528 GB, free: 88.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008555/0.6739, allocations: 6.709 MB / 0.5594 GB, free: 84.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.674, allocations: 60 kB / 0.5594 GB, free: 84.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.6741, allocations: 120.9 kB / 0.5596 GB, free: 84.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/0.6746, allocations: 321.8 kB / 0.5599 GB, free: 84.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.6779, allocations: 1.244 MB / 0.5611 GB, free: 83.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.6799, allocations: 2.359 MB / 0.5634 GB, free: 80.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/0.6833, allocations: 291 kB / 0.5637 GB, free: 80.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004692/0.6838, allocations: 338.2 kB / 0.564 GB, free: 80.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.002293/0.6861, allocations: 1.782 MB / 0.5657 GB, free: 78.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.6865, allocations: 293.9 kB / 0.566 GB, free: 78.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.6904, allocations: 2.323 MB / 0.5683 GB, free: 76.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.6904, allocations: 19.98 kB / 0.5683 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6904, allocations: 8 kB / 0.5683 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6904, allocations: 3.984 kB / 0.5683 GB, free: 76.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008507/0.6989, allocations: 5.089 MB / 0.5733 GB, free: 71.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.6989, allocations: 4 kB / 0.5733 GB, free: 71.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/0.6997, allocations: 175.8 kB / 0.5734 GB, free: 71.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.7016, allocations: 0.7118 MB / 0.5741 GB, free: 70.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.354e-05/0.7017, allocations: 23.67 kB / 0.5742 GB, free: 70.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/0.7062, allocations: 4.661 MB / 0.5787 GB, free: 65.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7062, allocations: 4 kB / 0.5787 GB, free: 65.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.7118, allocations: 4.301 MB / 0.5829 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006338/0.7124, allocations: 256.9 kB / 0.5832 GB, free: 61.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.7127, allocations: 20 kB / 0.5832 GB, free: 61.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009307/0.7136, allocations: 73.62 kB / 0.5833 GB, free: 61.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.7138, allocations: 64.53 kB / 0.5833 GB, free: 61.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.7138, allocations: 39.98 kB / 0.5834 GB, free: 61.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002199/0.716, allocations: 1.959 MB / 0.5853 GB, free: 59.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.716, allocations: 0 / 0.5853 GB, free: 59.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003526/0.7196, allocations: 0.7977 MB / 0.586 GB, free: 58.31 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.0003041/0.7199, allocations: 149.6 kB / 0.5862 GB, free: 58.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.7246, allocations: 3.905 MB / 0.59 GB, free: 54.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7246, allocations: 3.938 kB / 0.59 GB, free: 54.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.7257, allocations: 1.035 MB / 0.591 GB, free: 53.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.7275, allocations: 335.4 kB / 0.5913 GB, free: 52.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/0.7369, allocations: 7.38 MB / 0.5985 GB, free: 45.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.7391, allocations: 2.232 MB / 0.6007 GB, free: 43.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003003/0.7421, allocations: 1.607 MB / 0.6023 GB, free: 41.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.7426, allocations: 199.3 kB / 0.6025 GB, free: 41.44 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7426, allocations: 3.938 kB / 0.6025 GB, free: 41.43 MB / 446.1 MB Notification: Performance of Templates: time 0.04486/0.7874, allocations: 27.97 MB / 0.6298 GB, free: 13.94 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.061254058033228]