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.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.489/1.489, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "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.002015/0.002015, allocations: 67.84 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01248/0.3466, allocations: 10.28 MB / 442.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008779/0.3554, allocations: 3.83 MB / 446.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.357, allocations: 55.81 kB / 446.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004036/0.361, allocations: 1.978 MB / 448.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.3657, allocations: 1.661 MB / 449.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.3674, allocations: 0.6199 MB / 450.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005399/0.3728, allocations: 3.356 MB / 453.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.3757, allocations: 1.929 MB / 455.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.3781, allocations: 1.234 MB / 457 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.3813, allocations: 1.806 MB / 458.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007873/0.3821, allocations: 252 kB / 459 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.3844, allocations: 1.057 MB / 460.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.3864, allocations: 1.597 MB / 461.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.3885, allocations: 1.809 MB / 463.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006963/0.3955, allocations: 5.805 MB / 469.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3955, allocations: 0 / 469.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3955, allocations: 0 / 469.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.3956, allocations: 0 / 469.3 MB, free: 1.934 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.008576/0.4042, allocations: 4.094 MB / 473.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4043, allocations: 8.031 kB / 473.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00652/0.4108, allocations: 1.8 MB / 475.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.4155, allocations: 1.932 MB / 477.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.4157, allocations: 192.8 kB / 477.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.4163, allocations: 255.8 kB / 477.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.4309, allocations: 8.447 MB / 486 MB, free: 432 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-05/0.431, allocations: 39.64 kB / 486.1 MB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.4313, allocations: 119.9 kB / 486.2 MB, free: 272 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002902/0.4342, allocations: 1.703 MB / 487.9 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.4477, allocations: 7.106 MB / 495 MB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04252/0.4902, allocations: 34.08 MB / 0.5167 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008004/0.4982, allocations: 3.194 MB / 0.5198 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.5002, allocations: 1.364 MB / 0.5211 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007758/0.508, allocations: 4.458 MB / 0.5255 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.508, allocations: 47.12 kB / 0.5255 GB, free: 10.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.396e-06/0.508, allocations: 0 / 0.5255 GB, free: 10.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.2637/0.7717, allocations: 11.72 MB / 0.537 GB, free: 102.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.7718, allocations: 144.1 kB / 0.5371 GB, free: 101.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006127/0.7779, allocations: 3.721 MB / 0.5407 GB, free: 100.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.7782, allocations: 45.55 kB / 0.5408 GB, free: 100.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.7798, allocations: 2.856 MB / 0.5436 GB, free: 99.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007213/0.7805, allocations: 0.5424 MB / 0.5441 GB, free: 99.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.782, allocations: 1.088 MB / 0.5452 GB, free: 98.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.7821, allocations: 302.5 kB / 0.5455 GB, free: 98.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.7843, allocations: 1.719 MB / 0.5471 GB, free: 97.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/0.7876, allocations: 5.129 MB / 0.5521 GB, free: 92.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006278/0.7939, allocations: 7.428 MB / 0.5594 GB, free: 85.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.794, allocations: 34.47 kB / 0.5594 GB, free: 85.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009017/0.803, allocations: 6.746 MB / 0.566 GB, free: 81.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.455e-05/0.8031, allocations: 56 kB / 0.5661 GB, free: 81.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.8032, allocations: 124 kB / 0.5662 GB, free: 80.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.8038, allocations: 326 kB / 0.5665 GB, free: 80.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003405/0.8072, allocations: 1.247 MB / 0.5677 GB, free: 79.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.8093, allocations: 2.487 MB / 0.5701 GB, free: 76.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/0.813, allocations: 294.8 kB / 0.5704 GB, free: 76.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004952/0.8135, allocations: 335.9 kB / 0.5707 GB, free: 76.23 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.002171/0.8157, allocations: 1.785 MB / 0.5725 GB, free: 74.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/0.8162, allocations: 325.8 kB / 0.5728 GB, free: 74.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.8202, allocations: 2.367 MB / 0.5751 GB, free: 71.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.8202, allocations: 15.98 kB / 0.5751 GB, free: 71.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.8202, allocations: 7.938 kB / 0.5751 GB, free: 71.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.8202, allocations: 7.984 kB / 0.5751 GB, free: 71.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009934/0.8302, allocations: 5.895 MB / 0.5809 GB, free: 65.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.8302, allocations: 7.938 kB / 0.5809 GB, free: 65.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.8309, allocations: 179.9 kB / 0.5811 GB, free: 65.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.8329, allocations: 0.7108 MB / 0.5818 GB, free: 64.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/0.833, allocations: 27.98 kB / 0.5818 GB, free: 64.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.8376, allocations: 4.812 MB / 0.5865 GB, free: 59.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8376, allocations: 0 / 0.5865 GB, free: 59.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.8433, allocations: 4.347 MB / 0.5907 GB, free: 55.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/0.8442, allocations: 378.8 kB / 0.5911 GB, free: 55.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/0.8445, allocations: 20 kB / 0.5911 GB, free: 55.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.8455, allocations: 79.56 kB / 0.5912 GB, free: 55.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.8457, allocations: 73.89 kB / 0.5913 GB, free: 54.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.8458, allocations: 35.98 kB / 0.5913 GB, free: 54.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003013/0.8488, allocations: 2.315 MB / 0.5936 GB, free: 52.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8488, allocations: 0 / 0.5936 GB, free: 52.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004209/0.853, allocations: 0.8007 MB / 0.5943 GB, free: 51.86 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.0003767/0.8534, allocations: 154.9 kB / 0.5945 GB, free: 51.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005154/0.8585, allocations: 3.902 MB / 0.5983 GB, free: 47.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.8585, allocations: 0 / 0.5983 GB, free: 47.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.8597, allocations: 1.042 MB / 0.5993 GB, free: 46.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.862, allocations: 392.5 kB / 0.5997 GB, free: 46.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00989/0.8719, allocations: 7.437 MB / 0.607 GB, free: 38.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.874, allocations: 2.785 MB / 0.6097 GB, free: 36.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003043/0.8771, allocations: 1.656 MB / 0.6113 GB, free: 34.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005137/0.8776, allocations: 207.4 kB / 0.6115 GB, free: 34.24 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.8776, allocations: 4 kB / 0.6115 GB, free: 34.23 MB / 446.1 MB Notification: Performance of Templates: time 0.04752/0.9251, allocations: 29.51 MB / 0.6403 GB, free: 4.949 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.344770266208798]