Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008923/0.0008924, allocations: 182.6 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 224.2 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007116/0.0007116, allocations: 87.86 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2306, allocations: 47.56 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.3452, allocations: 97.92 MB / 475 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.3455, allocations: 91.95 kB / 475 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3589/0.7045, allocations: 72.25 MB / 0.5345 GB, free: 83.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7045, allocations: 0 / 0.5345 GB, free: 83.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002299/0.7048, allocations: 79.92 kB / 0.5345 GB, free: 83.87 MB / 378.7 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.0113/0.7161, allocations: 3.517 MB / 0.538 GB, free: 80.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.7162, allocations: 8.031 kB / 0.538 GB, free: 80.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008561/0.7247, allocations: 2.051 MB / 0.54 GB, free: 78.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006786/0.7316, allocations: 2.997 MB / 0.5429 GB, free: 75.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.7319, allocations: 263.3 kB / 0.5432 GB, free: 74.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.7335, allocations: 352.2 kB / 0.5435 GB, free: 74.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.7527, allocations: 8.936 MB / 0.5522 GB, free: 64.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003772/0.7531, allocations: 59.59 kB / 0.5523 GB, free: 64.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/0.755, allocations: 175.8 kB / 0.5525 GB, free: 64.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/0.7565, allocations: 0.8878 MB / 0.5533 GB, free: 63.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.7706, allocations: 7.199 MB / 0.5603 GB, free: 56.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04218/0.8128, allocations: 42.92 MB / 0.6023 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006406/0.8193, allocations: 3.301 MB / 0.6055 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.8211, allocations: 1.451 MB / 0.6069 GB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006121/0.8273, allocations: 4.412 MB / 0.6112 GB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.8273, allocations: 51.05 kB / 0.6113 GB, free: 2.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 4.538e-06/0.8273, allocations: 0 / 0.6113 GB, free: 2.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.02762/0.855, allocations: 11.42 MB / 0.6224 GB, free: 6.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.8551, allocations: 141.2 kB / 0.6225 GB, free: 6.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006333/0.8614, allocations: 3.734 MB / 0.6262 GB, free: 2.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005154/0.862, allocations: 45.69 kB / 0.6262 GB, free: 2.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.8645, allocations: 2.76 MB / 0.6289 GB, free: 72 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007883/0.8653, allocations: 0.5132 MB / 0.6294 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.8655, allocations: 108 kB / 0.6295 GB, free: 15.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003493/0.8659, allocations: 0.5331 MB / 0.6301 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.8684, allocations: 1.677 MB / 0.6317 GB, free: 13.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.8732, allocations: 5.114 MB / 0.6367 GB, free: 6.375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008425/0.8816, allocations: 7.396 MB / 0.6439 GB, free: 13.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.8818, allocations: 36 kB / 0.6439 GB, free: 13.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01335/0.8951, allocations: 6.675 MB / 0.6505 GB, free: 6.543 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.8952, allocations: 56 kB / 0.6505 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.8954, allocations: 132.1 kB / 0.6506 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.896, allocations: 312.7 kB / 0.6509 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/0.9004, allocations: 1.283 MB / 0.6522 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.903, allocations: 2.298 MB / 0.6544 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/0.907, allocations: 279.5 kB / 0.6547 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008883/0.9079, allocations: 336 kB / 0.655 GB, free: 1.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * 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 (666): * Single equations (assignments): 662 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2408/1.149, allocations: 1.788 MB / 0.6568 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007289/1.149, allocations: 311.4 kB / 0.6571 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/1.154, allocations: 2.366 MB / 0.6594 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-05/1.154, allocations: 18.59 kB / 0.6594 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.154, allocations: 3.75 kB / 0.6594 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/1.154, allocations: 3.891 kB / 0.6594 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.167, allocations: 5.935 MB / 0.6652 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/1.167, allocations: 4.375 kB / 0.6652 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009913/1.168, allocations: 181 kB / 0.6654 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/1.17, allocations: 0.7107 MB / 0.6661 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.17, allocations: 20.09 kB / 0.6661 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/1.176, allocations: 4.456 MB / 0.6704 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.176, allocations: 0 / 0.6704 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/1.182, allocations: 4.33 MB / 0.6747 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.183, allocations: 0.5379 MB / 0.6752 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/1.183, allocations: 22.78 kB / 0.6752 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.185, allocations: 68.3 kB / 0.6753 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.185, allocations: 70.67 kB / 0.6753 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/1.185, allocations: 40.83 kB / 0.6754 GB, free: 115.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003679/1.189, allocations: 2.323 MB / 0.6777 GB, free: 114.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.189, allocations: 0 / 0.6777 GB, free: 114.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00529/1.194, allocations: 0.8207 MB / 0.6785 GB, free: 114.7 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004807/1.194, allocations: 166.3 kB / 0.6786 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006253/1.201, allocations: 4 MB / 0.6825 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.201, allocations: 0 / 0.6825 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.202, allocations: 1.108 MB / 0.6836 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.205, allocations: 373.5 kB / 0.684 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.22, allocations: 8.631 MB / 0.6924 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/1.224, allocations: 2.791 MB / 0.6951 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004282/1.228, allocations: 1.655 MB / 0.6967 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00079/1.229, allocations: 204 kB / 0.6969 GB, free: 107.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/1.229, allocations: 6.188 kB / 0.6969 GB, free: 107.3 MB / 426.7 MB Notification: Performance of Templates: time 0.0541/1.283, allocations: 29.14 MB / 0.7254 GB, free: 86.36 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches