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.00108/0.00108, allocations: 113.9 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 208 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2182, allocations: 50.53 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01079/0.229, allocations: 10.2 MB / 420.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006572/0.2356, allocations: 3.783 MB / 423.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.2368, allocations: 59.81 kB / 424 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.2404, allocations: 1.95 MB / 425.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.2437, allocations: 1.662 MB / 427.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.245, allocations: 0.616 MB / 428.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003841/0.2488, allocations: 3.357 MB / 431.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.2514, allocations: 2.564 MB / 434.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.2527, allocations: 1.234 MB / 435.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.2545, allocations: 1.666 MB / 437 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.255, allocations: 256 kB / 437.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.2566, allocations: 1.018 MB / 438.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.2579, allocations: 1.566 MB / 439.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.2594, allocations: 1.809 MB / 441.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.2646, allocations: 5.801 MB / 447.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2646, allocations: 0 / 447.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2646, allocations: 0 / 447.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.2647, allocations: 0 / 447.5 MB, free: 11.85 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.00576/0.2704, allocations: 4.102 MB / 451.6 MB, free: 7.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2705, allocations: 8.031 kB / 451.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005822/0.2763, allocations: 1.796 MB / 453.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.2792, allocations: 1.944 MB / 455.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2793, allocations: 192.8 kB / 455.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004408/0.2797, allocations: 251.8 kB / 455.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.2906, allocations: 8.439 MB / 464.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.9e-05/0.2907, allocations: 43.64 kB / 464.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.291, allocations: 123.9 kB / 464.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002553/0.2936, allocations: 1.699 MB / 466.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.3049, allocations: 7.106 MB / 473.2 MB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/0.3387, allocations: 34.08 MB / 0.4954 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007061/0.3458, allocations: 3.284 MB / 0.4986 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.3476, allocations: 1.469 MB / 0.5 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005808/0.3535, allocations: 4.461 MB / 0.5044 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3535, allocations: 47.11 kB / 0.5044 GB, free: 4.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.446e-06/0.3535, allocations: 0 / 0.5044 GB, free: 4.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02646/0.38, allocations: 11.75 MB / 0.5159 GB, free: 8.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.3801, allocations: 141.2 kB / 0.516 GB, free: 8.586 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/0.3845, allocations: 3.725 MB / 0.5196 GB, free: 4.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.513e-05/0.3846, allocations: 41.7 kB / 0.5197 GB, free: 4.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.3864, allocations: 2.854 MB / 0.5225 GB, free: 1.938 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.3868, allocations: 0.5393 MB / 0.523 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.3881, allocations: 1.084 MB / 0.5241 GB, free: 308 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3882, allocations: 305.1 kB / 0.5243 GB, free: 0 / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.3906, allocations: 1.72 MB / 0.526 GB, free: 14.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00454/0.3951, allocations: 5.131 MB / 0.531 GB, free: 7.406 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1795/0.5746, allocations: 7.424 MB / 0.5383 GB, free: 118.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/0.5748, allocations: 34.88 kB / 0.5383 GB, free: 118.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01031/0.5851, allocations: 6.751 MB / 0.5449 GB, free: 116.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.5852, allocations: 56.03 kB / 0.545 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/0.5853, allocations: 121.5 kB / 0.5451 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.5859, allocations: 323.4 kB / 0.5454 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/0.5892, allocations: 1.249 MB / 0.5466 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.5912, allocations: 2.487 MB / 0.549 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.5941, allocations: 287.4 kB / 0.5493 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.5944, allocations: 337.9 kB / 0.5496 GB, free: 114.5 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.001739/0.5961, allocations: 1.784 MB / 0.5514 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.5965, allocations: 327.4 kB / 0.5517 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.6002, allocations: 2.372 MB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6002, allocations: 7.594 kB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6003, allocations: 2 kB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.6006, allocations: 382.2 kB / 0.5544 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.6009, allocations: 19.94 kB / 0.5544 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009719/0.6019, allocations: 74.14 kB / 0.5545 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.602, allocations: 70.61 kB / 0.5545 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003962/0.606, allocations: 2.836 MB / 0.5573 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003252/0.6093, allocations: 3.688 MB / 0.5609 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008426/0.6101, allocations: 0.8912 MB / 0.5618 GB, free: 107.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00217/0.6123, allocations: 2.318 MB / 0.564 GB, free: 105.3 MB / 462.1 MB Notification: Performance of Backend: time 4.31e-07/0.6123, allocations: 0 / 0.564 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004615/0.6169, allocations: 3.497 MB / 0.5675 GB, free: 101.9 MB / 462.1 MB Notification: Performance of SimCode: time 0.007684/0.6246, allocations: 7.768 MB / 0.575 GB, free: 94.1 MB / 462.1 MB Notification: Performance of Templates: time 0.05007/0.6747, allocations: 36.33 MB / 0.6105 GB, free: 57.93 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