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/ModelicaServices trunk/package.mo", uses=false) 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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2028, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01041/0.2133, allocations: 10.19 MB / 420.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006285/0.2196, allocations: 3.79 MB / 423.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007267/0.2203, allocations: 59.81 kB / 424 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.2237, allocations: 1.946 MB / 425.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.227, allocations: 1.665 MB / 427.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.2281, allocations: 0.6082 MB / 428.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.2317, allocations: 3.357 MB / 431.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.2341, allocations: 2.572 MB / 434.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.2354, allocations: 1.23 MB / 435.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.2371, allocations: 1.67 MB / 437 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.2375, allocations: 256 kB / 437.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.239, allocations: 1.014 MB / 438.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.2402, allocations: 1.558 MB / 439.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.2415, allocations: 1.813 MB / 441.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004681/0.2462, allocations: 5.782 MB / 447.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2462, allocations: 0 / 447.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2462, allocations: 0 / 447.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.2463, allocations: 0 / 447.4 MB, free: 11.88 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.005818/0.2521, allocations: 3.995 MB / 451.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2521, allocations: 8.031 kB / 451.5 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006174/0.2583, allocations: 1.766 MB / 453.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.2612, allocations: 1.923 MB / 455.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.2614, allocations: 192.8 kB / 455.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/0.2618, allocations: 255.8 kB / 455.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.2733, allocations: 8.439 MB / 464 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.17e-05/0.2734, allocations: 47.59 kB / 464.1 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/0.2737, allocations: 119.9 kB / 464.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.2763, allocations: 1.699 MB / 465.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.2885, allocations: 7.106 MB / 473 MB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03525/0.3238, allocations: 34.02 MB / 0.4951 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.3311, allocations: 3.294 MB / 0.4983 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.333, allocations: 1.459 MB / 0.4998 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005718/0.3387, allocations: 4.448 MB / 0.5041 GB, free: 4.926 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3387, allocations: 51.06 kB / 0.5042 GB, free: 4.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.136e-06/0.3387, allocations: 0 / 0.5042 GB, free: 4.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02856/0.3673, allocations: 11.55 MB / 0.5154 GB, free: 9.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.3674, allocations: 137.2 kB / 0.5156 GB, free: 9.004 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004964/0.3724, allocations: 3.717 MB / 0.5192 GB, free: 5.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.3725, allocations: 41.7 kB / 0.5192 GB, free: 5.246 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/0.3743, allocations: 2.74 MB / 0.5219 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/0.3748, allocations: 0.5209 MB / 0.5224 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.3761, allocations: 1.075 MB / 0.5235 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.3762, allocations: 309.1 kB / 0.5238 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.3787, allocations: 1.709 MB / 0.5254 GB, free: 14.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/0.3834, allocations: 5.135 MB / 0.5304 GB, free: 7.965 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1795/0.563, allocations: 7.425 MB / 0.5377 GB, free: 119.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/0.5631, allocations: 34.84 kB / 0.5377 GB, free: 119.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009106/0.5722, allocations: 6.732 MB / 0.5443 GB, free: 117.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.5723, allocations: 61.12 kB / 0.5444 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.223e-05/0.5724, allocations: 124.9 kB / 0.5445 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/0.5729, allocations: 319.2 kB / 0.5448 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/0.576, allocations: 1.249 MB / 0.546 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.5779, allocations: 2.49 MB / 0.5484 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/0.5808, allocations: 283.2 kB / 0.5487 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/0.5811, allocations: 336.8 kB / 0.549 GB, free: 115.1 MB / 462.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.001729/0.5828, allocations: 1.796 MB / 0.5508 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.5832, allocations: 305.9 kB / 0.5511 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/0.5871, allocations: 2.374 MB / 0.5534 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.5872, allocations: 7.734 kB / 0.5534 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5872, allocations: 0 / 0.5534 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.5875, allocations: 358.2 kB / 0.5537 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.5878, allocations: 19.91 kB / 0.5538 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009982/0.5888, allocations: 78.2 kB / 0.5538 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.589, allocations: 75.5 kB / 0.5539 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0042/0.5932, allocations: 2.83 MB / 0.5567 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003328/0.5965, allocations: 3.677 MB / 0.5603 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008705/0.5974, allocations: 0.8895 MB / 0.5611 GB, free: 108.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002356/0.5998, allocations: 2.316 MB / 0.5634 GB, free: 106.1 MB / 462.1 MB Notification: Performance of Backend: time 3.51e-07/0.5998, allocations: 0 / 0.5634 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004978/0.6048, allocations: 3.494 MB / 0.5668 GB, free: 102.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.007821/0.6126, allocations: 7.659 MB / 0.5743 GB, free: 94.97 MB / 462.1 MB Notification: Performance of Templates: time 0.04869/0.6613, allocations: 36.32 MB / 0.6098 GB, free: 58.81 MB / 462.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches