Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 109.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 185.2 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 47.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2521/0.3701, allocations: 10.24 MB / 386.1 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.3805, allocations: 3.784 MB / 389.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.3834, allocations: 58.84 kB / 389.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004345/0.3878, allocations: 1.953 MB / 391.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005951/0.3937, allocations: 1.653 MB / 393.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.3959, allocations: 0.6122 MB / 394.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006908/0.4028, allocations: 3.336 MB / 397.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005107/0.408, allocations: 2.589 MB / 400 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.4117, allocations: 1.248 MB / 401.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.4154, allocations: 1.675 MB / 403 MB, free: 104 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.4168, allocations: 253.4 kB / 403.2 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.42, allocations: 1.025 MB / 404.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002011/0.422, allocations: 1.586 MB / 405.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002594/0.4246, allocations: 1.835 MB / 407.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008328/0.433, allocations: 5.822 MB / 413.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.433, allocations: 4 kB / 413.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.433, allocations: 1.375 kB / 413.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001671/0.4332, allocations: 0 / 413.5 MB, free: 9.375 MB / 334.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.009246/0.4424, allocations: 4.016 MB / 417.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4425, allocations: 15.89 kB / 417.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00633/0.4488, allocations: 1.766 MB / 419.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004681/0.4535, allocations: 1.998 MB / 421.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.4537, allocations: 196.8 kB / 421.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006181/0.4543, allocations: 259.8 kB / 421.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/0.4689, allocations: 8.431 MB / 430.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.4691, allocations: 39.66 kB / 430.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/0.4694, allocations: 123.9 kB / 430.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/0.4724, allocations: 1.699 MB / 432 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.4865, allocations: 7.102 MB / 439.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/0.5321, allocations: 34.01 MB / 473.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008004/0.5402, allocations: 3.298 MB / 476.4 MB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/0.5426, allocations: 1.463 MB / 477.9 MB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009737/0.5524, allocations: 4.346 MB / 482.2 MB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.5525, allocations: 55 kB / 482.3 MB, free: 2.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.948e-06/0.5525, allocations: 0 / 482.3 MB, free: 2.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03424/0.5868, allocations: 11.53 MB / 493.8 MB, free: 7.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.5869, allocations: 149.1 kB / 494 MB, free: 7.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00773/0.5947, allocations: 3.733 MB / 497.7 MB, free: 3.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002714/0.595, allocations: 41.7 kB / 497.7 MB, free: 3.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002285/0.5973, allocations: 2.74 MB / 0.4887 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007054/0.598, allocations: 0.5208 MB / 0.4893 GB, free: 20 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002229/0.6002, allocations: 1.087 MB / 0.4903 GB, free: 14.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6004, allocations: 305.1 kB / 0.4906 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.6034, allocations: 1.705 MB / 0.4923 GB, free: 12.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006964/0.6104, allocations: 5.128 MB / 0.4973 GB, free: 6.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009965/0.6204, allocations: 7.424 MB / 0.5045 GB, free: 12.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001675/0.6206, allocations: 36 kB / 0.5046 GB, free: 12.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01556/0.6362, allocations: 6.719 MB / 0.5111 GB, free: 6.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.6364, allocations: 56 kB / 0.5112 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/0.6366, allocations: 120 kB / 0.5113 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/0.6374, allocations: 317 kB / 0.5116 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/0.6416, allocations: 1.252 MB / 0.5128 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.6445, allocations: 2.486 MB / 0.5152 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/0.6489, allocations: 291.5 kB / 0.5155 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009162/0.6498, allocations: 332 kB / 0.5158 GB, free: 1.184 MB / 446.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.004277/0.6541, allocations: 1.795 MB / 0.5176 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008981/0.655, allocations: 311.9 kB / 0.5179 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005245/0.6603, allocations: 2.366 MB / 0.5202 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.6603, allocations: 19.98 kB / 0.5202 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.6604, allocations: 4 kB / 0.5202 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.6604, allocations: 3.984 kB / 0.5202 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.6753, allocations: 5.921 MB / 0.526 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/0.6754, allocations: 0 / 0.526 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009105/0.6763, allocations: 175.7 kB / 0.5262 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/0.6786, allocations: 0.7186 MB / 0.5269 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.6788, allocations: 20 kB / 0.5269 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006144/0.6849, allocations: 4.8 MB / 0.5316 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.685, allocations: 4.062 kB / 0.5316 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007315/0.6923, allocations: 4.325 MB / 0.5358 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/0.6941, allocations: 0.5282 MB / 0.5363 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008142/0.695, allocations: 27.92 kB / 0.5364 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.6966, allocations: 59.92 kB / 0.5364 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.6968, allocations: 72.48 kB / 0.5365 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6969, allocations: 39.98 kB / 0.5365 GB, free: 11.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006442/0.7034, allocations: 2.327 MB / 0.5388 GB, free: 9.383 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7034, allocations: 3.938 kB / 0.5388 GB, free: 9.379 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006497/0.7099, allocations: 0.8242 MB / 0.5396 GB, free: 8.555 MB / 478.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.0006329/0.7106, allocations: 151 kB / 0.5397 GB, free: 8.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007423/0.718, allocations: 4.043 MB / 0.5437 GB, free: 4.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.718, allocations: 4 kB / 0.5437 GB, free: 4.363 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.7197, allocations: 1.108 MB / 0.5448 GB, free: 3.246 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/0.7231, allocations: 404 kB / 0.5452 GB, free: 2.848 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2612/0.9843, allocations: 7.636 MB / 0.5526 GB, free: 150.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004175/0.9885, allocations: 2.782 MB / 0.5553 GB, free: 150 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.9897, allocations: 249.6 kB / 0.5556 GB, free: 150 MB / 478.1 MB Notification: Performance of SimCode: time 2.144e-06/0.9897, allocations: 0 / 0.5556 GB, free: 150 MB / 478.1 MB Notification: Performance of Templates: time 0.1044/1.094, allocations: 65.06 MB / 0.6191 GB, free: 101.5 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches