Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 197.6 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.5 MB / 245.4 MB, free: 8.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009947/0.0009947, allocations: 101.2 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002306/0.0002307, allocations: 8 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.228, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3478, allocations: 100.1 MB / 0.4976 GB, free: 7.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.3481, allocations: 87.95 kB / 0.4977 GB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3394/0.6874, allocations: 73.44 MB / 0.5694 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6875, allocations: 0 / 0.5694 GB, free: 42.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001536/0.6876, allocations: 71.94 kB / 0.5695 GB, free: 42.71 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.008253/0.6959, allocations: 3.52 MB / 0.5729 GB, free: 39.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6959, allocations: 12.03 kB / 0.5729 GB, free: 39.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008017/0.704, allocations: 2.051 MB / 0.5749 GB, free: 37.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/0.7096, allocations: 2.743 MB / 0.5776 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.7098, allocations: 263.3 kB / 0.5778 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/0.7111, allocations: 356.2 kB / 0.5782 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.7229, allocations: 8.936 MB / 0.5869 GB, free: 23.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.723, allocations: 59.66 kB / 0.587 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004005/0.7234, allocations: 175.8 kB / 0.5871 GB, free: 23.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008839/0.7243, allocations: 0.8916 MB / 0.588 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.7348, allocations: 7.191 MB / 0.595 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03621/0.7711, allocations: 42.9 MB / 0.6369 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006894/0.778, allocations: 3.287 MB / 0.6401 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.7798, allocations: 1.458 MB / 0.6416 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005608/0.7854, allocations: 4.393 MB / 0.6458 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.7855, allocations: 51.12 kB / 0.6459 GB, free: 9.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 3.055e-06/0.7855, allocations: 0 / 0.6459 GB, free: 9.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.02543/0.8109, allocations: 11.36 MB / 0.657 GB, free: 14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.811, allocations: 149.2 kB / 0.6571 GB, free: 13.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005459/0.8165, allocations: 3.718 MB / 0.6608 GB, free: 10.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.8167, allocations: 41.7 kB / 0.6608 GB, free: 10.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.8185, allocations: 2.756 MB / 0.6635 GB, free: 7.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004889/0.819, allocations: 0.5132 MB / 0.664 GB, free: 6.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.8192, allocations: 108 kB / 0.6641 GB, free: 6.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002946/0.8195, allocations: 0.5292 MB / 0.6646 GB, free: 6.109 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.8218, allocations: 1.673 MB / 0.6662 GB, free: 4.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1971/1.019, allocations: 5.108 MB / 0.6712 GB, free: 107.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/1.026, allocations: 7.406 MB / 0.6785 GB, free: 102.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/1.027, allocations: 36.81 kB / 0.6785 GB, free: 102.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01062/1.037, allocations: 6.671 MB / 0.685 GB, free: 102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/1.037, allocations: 62.22 kB / 0.6851 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.037, allocations: 124 kB / 0.6852 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/1.038, allocations: 317.7 kB / 0.6855 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/1.042, allocations: 1.287 MB / 0.6868 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/1.044, allocations: 2.297 MB / 0.689 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.047, allocations: 286.5 kB / 0.6893 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006064/1.048, allocations: 336.4 kB / 0.6896 GB, free: 100.5 MB / 442.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.002833/1.051, allocations: 1.788 MB / 0.6913 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/1.051, allocations: 310.5 kB / 0.6916 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/1.056, allocations: 2.364 MB / 0.6939 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/1.056, allocations: 18.5 kB / 0.694 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.056, allocations: 6.781 kB / 0.694 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.056, allocations: 7.359 kB / 0.694 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/1.067, allocations: 5.934 MB / 0.6998 GB, free: 99.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.067, allocations: 0 / 0.6998 GB, free: 99.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/1.068, allocations: 177 kB / 0.6999 GB, free: 99.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/1.07, allocations: 0.7112 MB / 0.7006 GB, free: 99.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/1.07, allocations: 17.34 kB / 0.7006 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00453/1.074, allocations: 4.465 MB / 0.705 GB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.074, allocations: 0 / 0.705 GB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/1.08, allocations: 4.327 MB / 0.7092 GB, free: 95.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008335/1.08, allocations: 379.6 kB / 0.7096 GB, free: 94.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/1.081, allocations: 21.62 kB / 0.7096 GB, free: 94.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/1.082, allocations: 63.08 kB / 0.7097 GB, free: 94.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.082, allocations: 74.36 kB / 0.7097 GB, free: 94.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.254e-05/1.082, allocations: 35.73 kB / 0.7098 GB, free: 94.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003079/1.085, allocations: 2.315 MB / 0.712 GB, free: 94.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.085, allocations: 3.031 kB / 0.712 GB, free: 94.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003962/1.089, allocations: 0.8278 MB / 0.7129 GB, free: 94.04 MB / 442.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.0003351/1.089, allocations: 163.9 kB / 0.713 GB, free: 93.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004998/1.094, allocations: 4 MB / 0.7169 GB, free: 92.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.094, allocations: 0 / 0.7169 GB, free: 92.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.096, allocations: 1.108 MB / 0.718 GB, free: 92.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.098, allocations: 370.1 kB / 0.7184 GB, free: 91.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.109, allocations: 8.612 MB / 0.7268 GB, free: 86.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/1.111, allocations: 2.781 MB / 0.7295 GB, free: 84.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003677/1.115, allocations: 1.661 MB / 0.7311 GB, free: 83.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/1.116, allocations: 211.4 kB / 0.7313 GB, free: 83.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/1.116, allocations: 0 / 0.7313 GB, free: 83.55 MB / 442.7 MB Notification: Performance of Templates: time 0.04597/1.162, allocations: 29.14 MB / 0.7598 GB, free: 61.89 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches