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.001064/0.001064, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.2 MB / 245 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000927/0.0009271, allocations: 94 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000216/0.000216, allocations: 8 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2255, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3393, allocations: 100.1 MB / 0.4976 GB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.3396, allocations: 91.95 kB / 0.4977 GB, free: 6.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3389/0.6786, allocations: 74.85 MB / 0.5708 GB, free: 39.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6786, allocations: 0 / 0.5708 GB, free: 39.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001714/0.6788, allocations: 75.98 kB / 0.5708 GB, free: 39.74 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.00914/0.6879, allocations: 3.618 MB / 0.5744 GB, free: 36.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.688, allocations: 12.03 kB / 0.5744 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007655/0.6956, allocations: 2.085 MB / 0.5764 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008235/0.7039, allocations: 3.405 MB / 0.5797 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.7041, allocations: 262.9 kB / 0.58 GB, free: 30.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00051/0.7046, allocations: 347.8 kB / 0.5803 GB, free: 29.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.716, allocations: 8.987 MB / 0.5891 GB, free: 19.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.883e-05/0.7161, allocations: 63.41 kB / 0.5892 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/0.7165, allocations: 179.9 kB / 0.5893 GB, free: 19.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008333/0.7173, allocations: 0.8722 MB / 0.5902 GB, free: 18.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009783/0.7271, allocations: 7.28 MB / 0.5973 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03867/0.7658, allocations: 42.92 MB / 0.6392 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007027/0.7728, allocations: 3.313 MB / 0.6424 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006614/0.7795, allocations: 4.432 MB / 0.6468 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.7796, allocations: 39.12 kB / 0.6468 GB, free: 7.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 3.287e-06/0.7796, allocations: 0 / 0.6468 GB, free: 7.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.0274/0.807, allocations: 11.61 MB / 0.6582 GB, free: 11.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.8071, allocations: 149.1 kB / 0.6583 GB, free: 11.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/0.8128, allocations: 3.318 MB / 0.6615 GB, free: 7.715 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.813, allocations: 41.7 kB / 0.6616 GB, free: 7.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001931/0.8149, allocations: 2.752 MB / 0.6643 GB, free: 4.875 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/0.8155, allocations: 0.5171 MB / 0.6648 GB, free: 4.352 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004046/0.816, allocations: 108 kB / 0.6649 GB, free: 4.246 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004733/0.8164, allocations: 0.5331 MB / 0.6654 GB, free: 3.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.8192, allocations: 1.681 MB / 0.667 GB, free: 2.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1922/1.011, allocations: 5.086 MB / 0.672 GB, free: 104.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/1.017, allocations: 2.872 MB / 0.6748 GB, free: 104.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001722/1.017, allocations: 36.25 kB / 0.6748 GB, free: 104.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.009416/1.026, allocations: 6.673 MB / 0.6814 GB, free: 104.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/1.026, allocations: 56.5 kB / 0.6814 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.026, allocations: 123.6 kB / 0.6815 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/1.027, allocations: 334.3 kB / 0.6819 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/1.03, allocations: 1.292 MB / 0.6831 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/1.032, allocations: 2.325 MB / 0.6854 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/1.036, allocations: 290.6 kB / 0.6857 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/1.036, allocations: 339.2 kB / 0.686 GB, free: 102.7 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.002902/1.039, allocations: 1.779 MB / 0.6877 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005694/1.039, allocations: 311.3 kB / 0.688 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/1.043, allocations: 2.369 MB / 0.6903 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/1.044, allocations: 17.81 kB / 0.6903 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.044, allocations: 3.5 kB / 0.6904 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.044, allocations: 3.703 kB / 0.6904 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009642/1.053, allocations: 5.937 MB / 0.6962 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.053, allocations: 0 / 0.6962 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/1.054, allocations: 179.7 kB / 0.6963 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/1.056, allocations: 0.7158 MB / 0.697 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.056, allocations: 24.55 kB / 0.697 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004543/1.061, allocations: 4.547 MB / 0.7015 GB, free: 99.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.061, allocations: 7.625 kB / 0.7015 GB, free: 99.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/1.066, allocations: 4.45 MB / 0.7058 GB, free: 97.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/1.067, allocations: 372 kB / 0.7062 GB, free: 97.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/1.067, allocations: 22.92 kB / 0.7062 GB, free: 97.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000994/1.068, allocations: 64.81 kB / 0.7063 GB, free: 97.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.068, allocations: 73.61 kB / 0.7063 GB, free: 97.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/1.068, allocations: 36.62 kB / 0.7064 GB, free: 97.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002928/1.071, allocations: 2.307 MB / 0.7086 GB, free: 96.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.071, allocations: 0 / 0.7086 GB, free: 96.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004008/1.075, allocations: 0.8372 MB / 0.7095 GB, free: 96.54 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.0003341/1.076, allocations: 176.7 kB / 0.7096 GB, free: 96.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004997/1.081, allocations: 4 MB / 0.7135 GB, free: 95.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.081, allocations: 0 / 0.7135 GB, free: 95.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.082, allocations: 1.105 MB / 0.7146 GB, free: 94.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.084, allocations: 351.9 kB / 0.7149 GB, free: 94.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.094, allocations: 8.573 MB / 0.7233 GB, free: 89.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/1.096, allocations: 2.855 MB / 0.7261 GB, free: 88.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003608/1.1, allocations: 1.665 MB / 0.7277 GB, free: 87.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/1.1, allocations: 211.3 kB / 0.7279 GB, free: 87.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/1.1, allocations: 0 / 0.7279 GB, free: 87.18 MB / 442.7 MB Notification: Performance of Templates: time 0.04241/1.143, allocations: 29.05 MB / 0.7563 GB, free: 65.98 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/jenkins/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