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.001314/0.001314, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 209.1 kB / 18.79 MB, free: 4.383 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.451/1.451, allocations: 230.4 MB / 250 MB, free: 9.055 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.00194/0.00194, allocations: 71.84 kB / 367.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2444, allocations: 53.32 MB / 420.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01266/0.2571, allocations: 10.23 MB / 430.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007652/0.2648, allocations: 3.818 MB / 434.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.266, allocations: 55.88 kB / 434.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.2698, allocations: 1.974 MB / 436.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.2739, allocations: 1.661 MB / 438.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.2753, allocations: 0.6121 MB / 439 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004774/0.2801, allocations: 3.356 MB / 442.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/0.2829, allocations: 2.201 MB / 444.6 MB, free: 464 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.2847, allocations: 1.238 MB / 445.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.2871, allocations: 1.803 MB / 447.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004997/0.2876, allocations: 260 kB / 447.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.2896, allocations: 1.045 MB / 448.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.2912, allocations: 1.605 MB / 450.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.2933, allocations: 1.809 MB / 452.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007374/0.3007, allocations: 5.797 MB / 458.1 MB, free: 2.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.3007, allocations: 3.984 kB / 458.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3007, allocations: 0 / 458.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001561/0.3009, allocations: 0 / 458.1 MB, free: 2.848 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.007785/0.3087, allocations: 4.098 MB / 462.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3087, allocations: 8.031 kB / 462.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/0.3148, allocations: 1.804 MB / 464 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.319, allocations: 1.92 MB / 466 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.3192, allocations: 188.8 kB / 466.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006032/0.3198, allocations: 259.8 kB / 466.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.3338, allocations: 8.45 MB / 474.9 MB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-05/0.3339, allocations: 39.64 kB / 474.9 MB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.3342, allocations: 131.9 kB / 475 MB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/0.337, allocations: 1.692 MB / 476.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.3503, allocations: 7.114 MB / 483.8 MB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03939/0.3897, allocations: 34.07 MB / 0.5058 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.3975, allocations: 3.194 MB / 0.5089 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.3994, allocations: 1.357 MB / 0.5102 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006592/0.406, allocations: 4.454 MB / 0.5145 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.4061, allocations: 51.06 kB / 0.5146 GB, free: 11.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.396e-06/0.4061, allocations: 0 / 0.5146 GB, free: 11.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.02872/0.4348, allocations: 11.74 MB / 0.5261 GB, free: 15.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/0.4349, allocations: 141.2 kB / 0.5262 GB, free: 15.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/0.44, allocations: 3.718 MB / 0.5298 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.4401, allocations: 41.7 kB / 0.5299 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002147/0.4423, allocations: 2.862 MB / 0.5327 GB, free: 9.156 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005714/0.4429, allocations: 0.5351 MB / 0.5332 GB, free: 8.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/0.4443, allocations: 1.092 MB / 0.5342 GB, free: 7.516 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4444, allocations: 305.1 kB / 0.5345 GB, free: 7.215 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.447, allocations: 1.709 MB / 0.5362 GB, free: 5.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.211/0.658, allocations: 5.127 MB / 0.5412 GB, free: 111.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/0.6654, allocations: 7.428 MB / 0.5485 GB, free: 105.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.6655, allocations: 39.41 kB / 0.5485 GB, free: 105.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009612/0.6751, allocations: 6.743 MB / 0.5551 GB, free: 103.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.6752, allocations: 61.03 kB / 0.5551 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/0.6753, allocations: 120.1 kB / 0.5553 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.6758, allocations: 320.6 kB / 0.5556 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/0.679, allocations: 1.253 MB / 0.5568 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.681, allocations: 2.495 MB / 0.5592 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.6843, allocations: 286 kB / 0.5595 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/0.6847, allocations: 332.6 kB / 0.5598 GB, free: 101.3 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.002063/0.6867, allocations: 1.79 MB / 0.5616 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/0.6872, allocations: 321.9 kB / 0.5619 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.6908, allocations: 2.369 MB / 0.5642 GB, free: 98.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.6909, allocations: 16 kB / 0.5642 GB, free: 98.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6909, allocations: 4 kB / 0.5642 GB, free: 98.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6909, allocations: 7.672 kB / 0.5642 GB, free: 98.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008334/0.6992, allocations: 5.909 MB / 0.57 GB, free: 93.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.6992, allocations: 3.938 kB / 0.57 GB, free: 93.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.6999, allocations: 171.7 kB / 0.5702 GB, free: 93.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.7017, allocations: 0.7157 MB / 0.5708 GB, free: 92.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.7018, allocations: 25.22 kB / 0.5709 GB, free: 92.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/0.7062, allocations: 4.82 MB / 0.5756 GB, free: 88.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7062, allocations: 3.828 kB / 0.5756 GB, free: 88.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005127/0.7114, allocations: 4.345 MB / 0.5798 GB, free: 83.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/0.712, allocations: 381.9 kB / 0.5802 GB, free: 83.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.7122, allocations: 19.36 kB / 0.5802 GB, free: 83.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009265/0.7132, allocations: 75.84 kB / 0.5803 GB, free: 83.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.7133, allocations: 72.56 kB / 0.5804 GB, free: 83.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.7134, allocations: 32 kB / 0.5804 GB, free: 83.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002406/0.7158, allocations: 2.314 MB / 0.5826 GB, free: 80.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7158, allocations: 0 / 0.5826 GB, free: 80.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003395/0.7192, allocations: 0.8055 MB / 0.5834 GB, free: 80.1 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.0002905/0.7195, allocations: 157.2 kB / 0.5836 GB, free: 79.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004704/0.7242, allocations: 3.903 MB / 0.5874 GB, free: 76.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.7242, allocations: 0 / 0.5874 GB, free: 76.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.7254, allocations: 1.034 MB / 0.5884 GB, free: 75.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.7273, allocations: 405.8 kB / 0.5888 GB, free: 74.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008831/0.7361, allocations: 7.374 MB / 0.596 GB, free: 67.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.7381, allocations: 2.773 MB / 0.5987 GB, free: 64.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002971/0.741, allocations: 1.66 MB / 0.6003 GB, free: 62.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.7415, allocations: 207.4 kB / 0.6005 GB, free: 62.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7415, allocations: 0 / 0.6005 GB, free: 62.55 MB / 462.1 MB Notification: Performance of Templates: time 0.04758/0.7891, allocations: 28.26 MB / 0.6281 GB, free: 34.52 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/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