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.001548/0.001548, allocations: 112.3 kB / 17.73 MB, free: 5.359 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.001648/0.001648, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.489/1.489, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001276/0.001276, allocations: 51.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.09326, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2135/0.3068, allocations: 10.24 MB / 385.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008085/0.3149, allocations: 3.784 MB / 389.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.3172, allocations: 59.16 kB / 389.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.3213, allocations: 1.952 MB / 391.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.3266, allocations: 1.658 MB / 392.8 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.3284, allocations: 0.6091 MB / 393.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006594/0.335, allocations: 3.335 MB / 396.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003849/0.3389, allocations: 2.589 MB / 399.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.3417, allocations: 1.25 MB / 400.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.3446, allocations: 1.679 MB / 402.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007214/0.3453, allocations: 253.1 kB / 402.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.3479, allocations: 1.022 MB / 403.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.3496, allocations: 1.581 MB / 405.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.3517, allocations: 1.835 MB / 407 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007252/0.359, allocations: 5.826 MB / 412.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.359, allocations: 4 kB / 412.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.359, allocations: 0 / 412.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001743/0.3592, allocations: 1.375 kB / 412.8 MB, free: 9.156 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.008964/0.3682, allocations: 4.013 MB / 416.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.3683, allocations: 19.89 kB / 416.8 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006669/0.375, allocations: 1.77 MB / 418.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004163/0.3791, allocations: 1.998 MB / 420.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.3793, allocations: 196.8 kB / 420.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004997/0.3798, allocations: 255.8 kB / 421.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/0.3938, allocations: 8.431 MB / 429.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-05/0.394, allocations: 39.66 kB / 429.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/0.3944, allocations: 123.9 kB / 429.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002844/0.3972, allocations: 1.699 MB / 431.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.4107, allocations: 7.108 MB / 438.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04102/0.4518, allocations: 34.01 MB / 472.5 MB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007915/0.4597, allocations: 3.294 MB / 475.8 MB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.4617, allocations: 1.462 MB / 477.2 MB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007477/0.4692, allocations: 4.35 MB / 481.6 MB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.4693, allocations: 59 kB / 481.6 MB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 6.172e-06/0.4693, allocations: 0 / 481.6 MB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03188/0.5012, allocations: 11.51 MB / 493.1 MB, free: 7.137 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.5014, allocations: 153.1 kB / 493.3 MB, free: 6.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00642/0.5078, allocations: 3.729 MB / 497 MB, free: 3.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.5082, allocations: 41.7 kB / 497.1 MB, free: 3.188 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.5103, allocations: 2.744 MB / 499.8 MB, free: 412 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007472/0.511, allocations: 0.5208 MB / 0.4886 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/0.513, allocations: 1.079 MB / 0.4896 GB, free: 14.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.5132, allocations: 313 kB / 0.4899 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/0.5159, allocations: 1.701 MB / 0.4916 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005093/0.521, allocations: 5.128 MB / 0.4966 GB, free: 5.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008485/0.5295, allocations: 7.424 MB / 0.5039 GB, free: 12.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/0.5297, allocations: 36 kB / 0.5039 GB, free: 12.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01305/0.5428, allocations: 6.72 MB / 0.5105 GB, free: 6.016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.543, allocations: 60 kB / 0.5105 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/0.5432, allocations: 120 kB / 0.5106 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/0.5439, allocations: 320.6 kB / 0.5109 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/0.5482, allocations: 1.248 MB / 0.5122 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.5514, allocations: 2.489 MB / 0.5146 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/0.5567, allocations: 287.5 kB / 0.5149 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.5578, allocations: 340 kB / 0.5152 GB, free: 1.031 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.004166/0.562, allocations: 1.791 MB / 0.5169 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008868/0.5629, allocations: 311.9 kB / 0.5172 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/0.5684, allocations: 2.363 MB / 0.5195 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/0.5684, allocations: 16 kB / 0.5196 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.5685, allocations: 7.984 kB / 0.5196 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.5685, allocations: 3.984 kB / 0.5196 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.5819, allocations: 5.921 MB / 0.5254 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.582, allocations: 7.922 kB / 0.5254 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008775/0.5829, allocations: 171.7 kB / 0.5255 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/0.5851, allocations: 0.7232 MB / 0.5262 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.5853, allocations: 20 kB / 0.5262 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006292/0.5916, allocations: 4.8 MB / 0.5309 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5916, allocations: 4.062 kB / 0.5309 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007576/0.5992, allocations: 4.325 MB / 0.5352 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.6006, allocations: 0.5242 MB / 0.5357 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006651/0.6013, allocations: 27.94 kB / 0.5357 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.6027, allocations: 63.91 kB / 0.5358 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.6029, allocations: 68.5 kB / 0.5358 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.603, allocations: 40 kB / 0.5359 GB, free: 11.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004776/0.6078, allocations: 2.335 MB / 0.5381 GB, free: 9.227 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.6078, allocations: 0 / 0.5381 GB, free: 9.227 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005268/0.6131, allocations: 0.8203 MB / 0.5389 GB, free: 8.406 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.0005173/0.6136, allocations: 151 kB / 0.5391 GB, free: 8.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007127/0.6208, allocations: 4.046 MB / 0.543 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.6208, allocations: 4.188 kB / 0.543 GB, free: 4.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.6225, allocations: 1.115 MB / 0.5441 GB, free: 3.086 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.6256, allocations: 393.5 kB / 0.5445 GB, free: 2.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2148/0.8404, allocations: 7.263 MB / 0.5516 GB, free: 150.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003471/0.8439, allocations: 2.78 MB / 0.5543 GB, free: 149.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004218/0.8482, allocations: 1.659 MB / 0.5559 GB, free: 149.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007652/0.849, allocations: 210.4 kB / 0.5561 GB, free: 149.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.263e-06/0.849, allocations: 0 / 0.5561 GB, free: 149.5 MB / 478.1 MB Notification: Performance of Templates: time 0.05018/0.8992, allocations: 27.94 MB / 0.5834 GB, free: 136.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/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