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.002382/0.002382, allocations: 198.2 kB / 8.768 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009175/0.0009179, allocations: 103.5 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.913e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 51.47 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5511, allocations: 99.38 MB / 494.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5514, allocations: 89.08 kB / 494.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2001/0.7515, allocations: 73.51 MB / 0.5548 GB, free: 5.113 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7515, allocations: 0 / 0.5548 GB, free: 5.113 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002365/0.7518, allocations: 68 kB / 0.5549 GB, free: 5.047 MB / 426.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.01283/0.7646, allocations: 3.408 MB / 0.5582 GB, free: 1.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.7647, allocations: 8.031 kB / 0.5582 GB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.7749, allocations: 2.09 MB / 0.5603 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009672/0.7846, allocations: 3.373 MB / 0.5636 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.7849, allocations: 116 kB / 0.5637 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.7866, allocations: 207.9 kB / 0.5639 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01083/0.7975, allocations: 5.124 MB / 0.5689 GB, free: 6.602 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2703/1.068, allocations: 8.039 MB / 0.5767 GB, free: 80.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/1.068, allocations: 54.19 kB / 0.5768 GB, free: 80.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004477/1.069, allocations: 30.59 kB / 0.5768 GB, free: 80.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001067/1.07, allocations: 0.8791 MB / 0.5777 GB, free: 80.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03173/1.101, allocations: 41.26 MB / 0.618 GB, free: 54.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/1.104, allocations: 2.517 MB / 0.6204 GB, free: 53.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/1.105, allocations: 1.394 MB / 0.6218 GB, free: 53.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/1.106, allocations: 0.6453 MB / 0.6224 GB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.106, allocations: 49.03 kB / 0.6224 GB, free: 52.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 3.717e-06/1.106, allocations: 0 / 0.6224 GB, free: 52.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.01892/1.125, allocations: 12.21 MB / 0.6344 GB, free: 49.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/1.125, allocations: 173.2 kB / 0.6345 GB, free: 49.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/1.129, allocations: 2.796 MB / 0.6373 GB, free: 48.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002912/1.129, allocations: 29.92 kB / 0.6373 GB, free: 48.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.131, allocations: 2.788 MB / 0.64 GB, free: 46.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005566/1.131, allocations: 0.5335 MB / 0.6405 GB, free: 46.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.132, allocations: 5.281 kB / 0.6405 GB, free: 46.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002445/1.132, allocations: 0.5427 MB / 0.6411 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/1.134, allocations: 1.609 MB / 0.6426 GB, free: 45.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/1.137, allocations: 5.145 MB / 0.6477 GB, free: 39.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/1.141, allocations: 2.859 MB / 0.6505 GB, free: 38.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.764e-05/1.141, allocations: 36.66 kB / 0.6505 GB, free: 38.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01061/1.152, allocations: 6.06 MB / 0.6564 GB, free: 36.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.152, allocations: 63.05 kB / 0.6565 GB, free: 36.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001855/1.152, allocations: 127.2 kB / 0.6566 GB, free: 36.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007507/1.153, allocations: 347.2 kB / 0.6569 GB, free: 36.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00529/1.158, allocations: 1.339 MB / 0.6582 GB, free: 36.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/1.16, allocations: 2.201 MB / 0.6604 GB, free: 34.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004998/1.165, allocations: 193 kB / 0.6606 GB, free: 34.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007815/1.166, allocations: 351 kB / 0.6609 GB, free: 34.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 693 * 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.0007226/1.167, allocations: 420.7 kB / 0.6613 GB, free: 34.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005335/1.168, allocations: 290.3 kB / 0.6616 GB, free: 34.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/1.172, allocations: 2.302 MB / 0.6638 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.172, allocations: 15.78 kB / 0.6638 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.172, allocations: 7.375 kB / 0.6639 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.172, allocations: 5.484 kB / 0.6639 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.182, allocations: 5.725 MB / 0.6695 GB, free: 31.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.182, allocations: 7.656 kB / 0.6695 GB, free: 31.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/1.183, allocations: 188.5 kB / 0.6696 GB, free: 31.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/1.185, allocations: 0.7054 MB / 0.6703 GB, free: 31.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/1.185, allocations: 9.156 kB / 0.6703 GB, free: 31.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/1.19, allocations: 4.296 MB / 0.6745 GB, free: 28.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.19, allocations: 7.531 kB / 0.6745 GB, free: 28.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/1.195, allocations: 4.46 MB / 0.6789 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008417/1.196, allocations: 331.6 kB / 0.6792 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/1.197, allocations: 7.562 kB / 0.6792 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.198, allocations: 50.31 kB / 0.6793 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.198, allocations: 77.03 kB / 0.6793 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.293e-05/1.198, allocations: 40.42 kB / 0.6794 GB, free: 26.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003203/1.201, allocations: 1.855 MB / 0.6812 GB, free: 25.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.201, allocations: 0 / 0.6812 GB, free: 25.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007016/1.208, allocations: 0.7102 MB / 0.6819 GB, free: 25.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0009416/1.209, allocations: 157.7 kB / 0.682 GB, free: 25.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007538/1.217, allocations: 3.81 MB / 0.6858 GB, free: 24.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.217, allocations: 0 / 0.6858 GB, free: 24.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/1.218, allocations: 1.106 MB / 0.6868 GB, free: 23.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.221, allocations: 296.4 kB / 0.6871 GB, free: 23.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/1.232, allocations: 5.899 MB / 0.6929 GB, free: 21.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/1.235, allocations: 2.863 MB / 0.6957 GB, free: 20.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003994/1.239, allocations: 1.736 MB / 0.6974 GB, free: 20.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006273/1.24, allocations: 195.3 kB / 0.6976 GB, free: 20.29 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/1.24, allocations: 0 / 0.6976 GB, free: 20.29 MB / 442.7 MB Notification: Performance of Templates: time 0.04784/1.287, allocations: 25.56 MB / 0.7225 GB, free: 9.336 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