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.001322/0.001322, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 60.09 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2795, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01121/0.2908, allocations: 10.18 MB / 420.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007907/0.2987, allocations: 3.794 MB / 423.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.3003, allocations: 59.81 kB / 424 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003913/0.3043, allocations: 1.95 MB / 425.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.3083, allocations: 1.619 MB / 427.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.3098, allocations: 0.616 MB / 428.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004405/0.3142, allocations: 3.357 MB / 431.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.3177, allocations: 2.56 MB / 434.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.3198, allocations: 1.234 MB / 435.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.3223, allocations: 1.666 MB / 437 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000699/0.323, allocations: 256 kB / 437.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.3251, allocations: 1.018 MB / 438.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.3268, allocations: 1.562 MB / 439.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002638/0.3295, allocations: 1.809 MB / 441.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00679/0.3363, allocations: 5.778 MB / 447.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.3363, allocations: 4 kB / 447.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3364, allocations: 3.938 kB / 447.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.3366, allocations: 0 / 447.4 MB, free: 11.97 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.008821/0.3454, allocations: 3.991 MB / 451.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3455, allocations: 8.031 kB / 451.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006453/0.3519, allocations: 1.77 MB / 453.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.3554, allocations: 1.916 MB / 455.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.3555, allocations: 192.8 kB / 455.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/0.356, allocations: 263.7 kB / 455.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.3695, allocations: 8.439 MB / 464 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.925e-05/0.3696, allocations: 43.59 kB / 464 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/0.37, allocations: 127.9 kB / 464.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002752/0.3727, allocations: 1.695 MB / 465.8 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/0.3864, allocations: 7.114 MB / 472.9 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04115/0.4276, allocations: 34.02 MB / 0.4951 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007755/0.4354, allocations: 3.284 MB / 0.4983 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.4375, allocations: 1.467 MB / 0.4997 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006572/0.444, allocations: 4.445 MB / 0.5041 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.4441, allocations: 51.06 kB / 0.5041 GB, free: 4.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.577e-06/0.4441, allocations: 0 / 0.5041 GB, free: 4.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02966/0.4738, allocations: 11.56 MB / 0.5154 GB, free: 9.254 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.4739, allocations: 137.2 kB / 0.5155 GB, free: 9.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00539/0.4793, allocations: 3.717 MB / 0.5192 GB, free: 5.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.4796, allocations: 41.7 kB / 0.5192 GB, free: 5.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.4816, allocations: 2.744 MB / 0.5219 GB, free: 2.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007392/0.4823, allocations: 0.517 MB / 0.5224 GB, free: 2.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002064/0.4844, allocations: 1.079 MB / 0.5234 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4845, allocations: 309.1 kB / 0.5237 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/0.4872, allocations: 1.709 MB / 0.5254 GB, free: 14.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004813/0.4921, allocations: 5.135 MB / 0.5304 GB, free: 8.043 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2157/0.7078, allocations: 7.418 MB / 0.5377 GB, free: 119.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/0.708, allocations: 39.12 kB / 0.5377 GB, free: 119.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01144/0.7194, allocations: 6.743 MB / 0.5443 GB, free: 117.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.7195, allocations: 57.91 kB / 0.5443 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.7197, allocations: 122.2 kB / 0.5445 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.7203, allocations: 316.8 kB / 0.5448 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/0.7237, allocations: 1.249 MB / 0.546 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.7259, allocations: 2.495 MB / 0.5484 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/0.7295, allocations: 284.1 kB / 0.5487 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006114/0.7302, allocations: 333.3 kB / 0.549 GB, free: 115.1 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.002233/0.7324, allocations: 1.794 MB / 0.5508 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/0.7329, allocations: 303.1 kB / 0.551 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.737, allocations: 2.37 MB / 0.5534 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/0.7371, allocations: 15.78 kB / 0.5534 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7371, allocations: 7.906 kB / 0.5534 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.7371, allocations: 3.797 kB / 0.5534 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009284/0.7464, allocations: 5.918 MB / 0.5592 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.7464, allocations: 7.938 kB / 0.5592 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/0.7472, allocations: 169.7 kB / 0.5593 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.7492, allocations: 0.7106 MB / 0.56 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.7493, allocations: 24 kB / 0.56 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/0.7539, allocations: 4.814 MB / 0.5647 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7539, allocations: 4.031 kB / 0.5648 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005561/0.7595, allocations: 4.335 MB / 0.569 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/0.7602, allocations: 357.9 kB / 0.5693 GB, free: 99.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/0.7606, allocations: 23.98 kB / 0.5693 GB, free: 99.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7617, allocations: 71.84 kB / 0.5694 GB, free: 99.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.7619, allocations: 69.84 kB / 0.5695 GB, free: 99.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.2e-05/0.762, allocations: 39.81 kB / 0.5695 GB, free: 99.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003328/0.7653, allocations: 2.315 MB / 0.5718 GB, free: 97.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7654, allocations: 192 / 0.5718 GB, free: 97.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004001/0.7694, allocations: 0.7965 MB / 0.5726 GB, free: 96.61 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.0003906/0.7698, allocations: 157.7 kB / 0.5727 GB, free: 96.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00506/0.7748, allocations: 4.069 MB / 0.5767 GB, free: 92.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7749, allocations: 0 / 0.5767 GB, free: 92.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.7761, allocations: 1.107 MB / 0.5778 GB, free: 91.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.7783, allocations: 392.5 kB / 0.5781 GB, free: 90.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.7884, allocations: 7.643 MB / 0.5856 GB, free: 83.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/0.7905, allocations: 2.781 MB / 0.5883 GB, free: 80.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007877/0.7913, allocations: 251.4 kB / 0.5886 GB, free: 80.18 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7913, allocations: 0 / 0.5886 GB, free: 80.18 MB / 462.1 MB Notification: Performance of Templates: time 0.06378/0.8551, allocations: 64.28 MB / 0.6513 GB, free: 15.96 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