Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 122.6 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 59.91 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2431, allocations: 50.55 MB / 410.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01221/0.2554, allocations: 10.23 MB / 420.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007638/0.263, allocations: 3.801 MB / 424.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.2642, allocations: 55.81 kB / 424.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.2681, allocations: 1.974 MB / 426.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.2719, allocations: 1.661 MB / 427.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.2732, allocations: 0.6121 MB / 428.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004462/0.2777, allocations: 3.368 MB / 431.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.2805, allocations: 2.185 MB / 434.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.2821, allocations: 1.234 MB / 435.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.2843, allocations: 1.67 MB / 437 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.2847, allocations: 252 kB / 437.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.2865, allocations: 1.014 MB / 438.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.2881, allocations: 1.593 MB / 439.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.29, allocations: 1.813 MB / 441.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006536/0.2965, allocations: 5.805 MB / 447.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2965, allocations: 8 kB / 447.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2965, allocations: 0 / 447.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.503e-05/0.2966, allocations: 0 / 447.5 MB, free: 11.98 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.007644/0.3043, allocations: 4.09 MB / 451.6 MB, free: 7.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3043, allocations: 16.03 kB / 451.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/0.311, allocations: 1.792 MB / 453.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.3152, allocations: 1.936 MB / 455.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.3154, allocations: 188.8 kB / 455.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006238/0.316, allocations: 255.8 kB / 455.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.3303, allocations: 8.439 MB / 464.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.3304, allocations: 47.58 kB / 464.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/0.3307, allocations: 123.9 kB / 464.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00302/0.3338, allocations: 1.699 MB / 466 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.3476, allocations: 7.102 MB / 473.2 MB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04357/0.3912, allocations: 34.08 MB / 0.4953 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008118/0.3993, allocations: 3.182 MB / 0.4985 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.4014, allocations: 1.362 MB / 0.4998 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007077/0.4084, allocations: 4.461 MB / 0.5041 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4085, allocations: 47.12 kB / 0.5042 GB, free: 4.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.426e-06/0.4085, allocations: 0 / 0.5042 GB, free: 4.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02978/0.4383, allocations: 11.73 MB / 0.5156 GB, free: 9.121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.4384, allocations: 141.2 kB / 0.5158 GB, free: 8.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/0.4435, allocations: 3.725 MB / 0.5194 GB, free: 5.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.4436, allocations: 41.7 kB / 0.5195 GB, free: 5.188 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.4458, allocations: 2.85 MB / 0.5222 GB, free: 2.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/0.4464, allocations: 0.5507 MB / 0.5228 GB, free: 1.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/0.4477, allocations: 1.091 MB / 0.5238 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4479, allocations: 301.1 kB / 0.5241 GB, free: 364 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.4505, allocations: 1.705 MB / 0.5258 GB, free: 14.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005721/0.4563, allocations: 5.132 MB / 0.5308 GB, free: 7.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2062/0.6625, allocations: 7.424 MB / 0.5381 GB, free: 118.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.6626, allocations: 38.44 kB / 0.5381 GB, free: 118.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00971/0.6723, allocations: 6.749 MB / 0.5447 GB, free: 116.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.6724, allocations: 64.59 kB / 0.5447 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.61e-05/0.6725, allocations: 122.1 kB / 0.5449 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.673, allocations: 324.1 kB / 0.5452 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/0.6761, allocations: 1.242 MB / 0.5464 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.678, allocations: 2.501 MB / 0.5488 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.6809, allocations: 283.6 kB / 0.5491 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.6812, allocations: 334.9 kB / 0.5494 GB, free: 114.6 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.001825/0.683, allocations: 1.792 MB / 0.5512 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.6834, allocations: 328 kB / 0.5515 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.6873, allocations: 2.363 MB / 0.5538 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.6873, allocations: 15.78 kB / 0.5538 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6873, allocations: 3.969 kB / 0.5538 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.6873, allocations: 3.797 kB / 0.5538 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008414/0.6958, allocations: 5.905 MB / 0.5596 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.6958, allocations: 7.938 kB / 0.5596 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/0.6965, allocations: 180.2 kB / 0.5598 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.6984, allocations: 0.7138 MB / 0.5604 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.279e-05/0.6985, allocations: 20 kB / 0.5605 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.703, allocations: 4.82 MB / 0.5652 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.703, allocations: 4.031 kB / 0.5652 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/0.7082, allocations: 4.348 MB / 0.5694 GB, free: 99.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.7087, allocations: 381.8 kB / 0.5698 GB, free: 99.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.709, allocations: 23.98 kB / 0.5698 GB, free: 99.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009981/0.71, allocations: 67.84 kB / 0.5699 GB, free: 99.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.7101, allocations: 68.52 kB / 0.5699 GB, free: 99.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/0.7102, allocations: 35.98 kB / 0.57 GB, free: 99.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002385/0.7126, allocations: 2.319 MB / 0.5722 GB, free: 96.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7126, allocations: 0 / 0.5722 GB, free: 96.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003227/0.7158, allocations: 0.8073 MB / 0.573 GB, free: 96.04 MB / 462.1 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 (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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002842/0.7161, allocations: 155.9 kB / 0.5732 GB, free: 95.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004387/0.7205, allocations: 3.895 MB / 0.577 GB, free: 92.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7205, allocations: 4 kB / 0.577 GB, free: 92.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.7216, allocations: 1.044 MB / 0.578 GB, free: 90.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.7234, allocations: 380.1 kB / 0.5784 GB, free: 90.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008806/0.7322, allocations: 7.376 MB / 0.5856 GB, free: 83.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/0.7341, allocations: 2.777 MB / 0.5883 GB, free: 80.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002915/0.737, allocations: 1.66 MB / 0.5899 GB, free: 78.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/0.7375, allocations: 211.4 kB / 0.5901 GB, free: 78.5 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7375, allocations: 0 / 0.5901 GB, free: 78.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04543/0.783, allocations: 27.96 MB / 0.6174 GB, free: 50.78 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches