Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00248/0.002487, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.467/3.467, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001949/0.001949, allocations: 99.86 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006464, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5291, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.05392/0.5831, allocations: 29.66 MB / 404.2 MB, free: 19.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02776/0.611, allocations: 7.719 MB / 411.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009355/0.6204, allocations: 151.6 kB / 412.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00771/0.6282, allocations: 1.423 MB / 413.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02444/0.6527, allocations: 4.352 MB / 417.8 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004464/0.6572, allocations: 499.2 kB / 418.3 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006736/0.664, allocations: 1.903 MB / 420.2 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008376/0.6725, allocations: 2.951 MB / 423.2 MB, free: 52 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.6761, allocations: 0.8565 MB / 424 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004147/0.6803, allocations: 1.133 MB / 425.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.6817, allocations: 112 kB / 425.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.686, allocations: 0.7762 MB / 426 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003898/0.69, allocations: 1.301 MB / 427.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002754/0.6929, allocations: 0.6987 MB / 428 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.7048, allocations: 4.443 MB / 432.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7049, allocations: 0 / 432.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.878e-06/0.7049, allocations: 0 / 432.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002485/0.7051, allocations: 0 / 432.5 MB, free: 6.703 MB / 314.7 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.01653/0.7217, allocations: 3.414 MB / 435.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.7218, allocations: 8.031 kB / 435.9 MB, free: 3.215 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/0.7418, allocations: 2.12 MB / 438 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.7519, allocations: 2.139 MB / 440.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/0.7524, allocations: 188.8 kB / 440.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002062/0.7545, allocations: 251.6 kB / 440.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03617/0.7908, allocations: 8.49 MB / 449.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/0.7911, allocations: 43.66 kB / 449.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/0.7928, allocations: 119.9 kB / 449.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007448/0.8003, allocations: 1.703 MB / 451 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03384/0.8342, allocations: 7.158 MB / 458.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09831/0.9326, allocations: 34.25 MB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/0.9548, allocations: 3.283 MB / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0166/0.9714, allocations: 4.416 MB / 0.4883 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.837e-05/0.9716, allocations: 47.12 kB / 0.4884 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 7.635e-06/0.9716, allocations: 4 kB / 0.4884 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.4892/1.461, allocations: 11.8 MB / 0.4999 GB, free: 105.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/1.461, allocations: 151.8 kB / 0.5001 GB, free: 105.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/1.474, allocations: 3.848 MB / 0.5038 GB, free: 104.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000419/1.475, allocations: 45.55 kB / 0.5039 GB, free: 104.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003495/1.478, allocations: 2.699 MB / 0.5065 GB, free: 101.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.479, allocations: 0.5156 MB / 0.507 GB, free: 101.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007409/1.48, allocations: 107.4 kB / 0.5071 GB, free: 101.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005137/1.481, allocations: 0.5267 MB / 0.5076 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006177/1.487, allocations: 1.68 MB / 0.5093 GB, free: 100.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009167/1.496, allocations: 5.069 MB / 0.5142 GB, free: 94.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009024/1.505, allocations: 2.871 MB / 0.517 GB, free: 91.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002185/1.506, allocations: 36 kB / 0.517 GB, free: 91.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.02407/1.53, allocations: 6.55 MB / 0.5234 GB, free: 85.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/1.53, allocations: 56 kB / 0.5235 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002637/1.53, allocations: 122.9 kB / 0.5236 GB, free: 84.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/1.532, allocations: 349.2 kB / 0.5239 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/1.542, allocations: 1.236 MB / 0.5251 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004937/1.547, allocations: 2.321 MB / 0.5274 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009828/1.557, allocations: 287.5 kB / 0.5277 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.559, allocations: 328 kB / 0.528 GB, free: 80.3 MB / 378.7 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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006309/1.565, allocations: 1.794 MB / 0.5298 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/1.566, allocations: 308 kB / 0.53 GB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.578, allocations: 2.367 MB / 0.5324 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.4e-05/1.578, allocations: 16 kB / 0.5324 GB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/1.578, allocations: 7.984 kB / 0.5324 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.578, allocations: 3.984 kB / 0.5324 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02776/1.606, allocations: 5.929 MB / 0.5382 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/1.606, allocations: 0 / 0.5382 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/1.608, allocations: 171.8 kB / 0.5383 GB, free: 69.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005646/1.614, allocations: 0.7154 MB / 0.539 GB, free: 68.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/1.614, allocations: 24 kB / 0.5391 GB, free: 68.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/1.627, allocations: 4.581 MB / 0.5435 GB, free: 64.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/1.627, allocations: 0 / 0.5435 GB, free: 64.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/1.643, allocations: 4.436 MB / 0.5479 GB, free: 59.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/1.645, allocations: 0.5397 MB / 0.5484 GB, free: 59.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.647, allocations: 21.25 kB / 0.5484 GB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/1.65, allocations: 71.86 kB / 0.5485 GB, free: 59.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006294/1.651, allocations: 64.56 kB / 0.5485 GB, free: 58.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/1.651, allocations: 37.48 kB / 0.5486 GB, free: 58.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008265/1.66, allocations: 2.413 MB / 0.5509 GB, free: 56.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.66, allocations: 8 kB / 0.5509 GB, free: 56.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01039/1.67, allocations: 0.8385 MB / 0.5518 GB, free: 55.71 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009807/1.671, allocations: 163.4 kB / 0.5519 GB, free: 55.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01209/1.683, allocations: 3.989 MB / 0.5558 GB, free: 51.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.683, allocations: 4 kB / 0.5558 GB, free: 51.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003549/1.687, allocations: 1.105 MB / 0.5569 GB, free: 50.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/1.692, allocations: 352.6 kB / 0.5572 GB, free: 50.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/1.72, allocations: 9.008 MB / 0.566 GB, free: 41.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007742/1.727, allocations: 2.863 MB / 0.5688 GB, free: 38.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/1.729, allocations: 251.3 kB / 0.5691 GB, free: 37.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.903e-06/1.729, allocations: 4 kB / 0.5691 GB, free: 37.93 MB / 378.7 MB Notification: Performance of Templates: time 0.2155/1.945, allocations: 61.97 MB / 0.6296 GB, free: 7.836 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches