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.0009763/0.0009765, allocations: 95.62 kB / 16.93 MB, free: 5.984 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.0008935/0.0008936, allocations: 180.8 kB / 17.82 MB, free: 5.652 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.371/1.371, allocations: 205.4 MB / 224 MB, free: 13.16 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.0007001/0.0007001, allocations: 8 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1377, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0285/0.1663, allocations: 29.65 MB / 358 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01828/0.1846, allocations: 7.727 MB / 365.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007932/0.1926, allocations: 143.6 kB / 365.8 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004788/0.1974, allocations: 1.419 MB / 367.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01434/0.2118, allocations: 4.356 MB / 371.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.2141, allocations: 0.4991 MB / 372.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.2186, allocations: 1.907 MB / 374 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.223, allocations: 2.936 MB / 377 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.2245, allocations: 0.868 MB / 377.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.226, allocations: 1.129 MB / 379 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.2263, allocations: 112 kB / 379.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.2279, allocations: 0.7724 MB / 379.8 MB, free: 400 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1902/0.4181, allocations: 1.293 MB / 381.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.4191, allocations: 0.7021 MB / 381.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007122/0.4263, allocations: 4.441 MB / 386.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4263, allocations: 0 / 386.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.4263, allocations: 3.422 kB / 386.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001478/0.4265, allocations: 5.891 kB / 386.3 MB, free: 12.34 MB / 318.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.007224/0.4337, allocations: 3.411 MB / 389.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4337, allocations: 9.781 kB / 389.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007293/0.441, allocations: 2.114 MB / 391.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.4455, allocations: 2.144 MB / 394 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.4457, allocations: 189.7 kB / 394.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005939/0.4463, allocations: 254.6 kB / 394.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.4591, allocations: 8.49 MB / 402.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.493e-05/0.4592, allocations: 42 kB / 402.9 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/0.4596, allocations: 124.6 kB / 403.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002449/0.462, allocations: 1.697 MB / 404.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.4743, allocations: 7.157 MB / 411.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04153/0.5159, allocations: 34.25 MB / 446.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007671/0.5236, allocations: 3.28 MB / 449.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008133/0.5317, allocations: 4.408 MB / 453.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.5318, allocations: 44.28 kB / 453.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=121): time 5.12e-06/0.5318, allocations: 1.859 kB / 453.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.03092/0.5628, allocations: 11.82 MB / 465.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.5629, allocations: 142 kB / 465.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00594/0.5688, allocations: 3.843 MB / 469.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002527/0.5691, allocations: 45.7 kB / 469.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001995/0.5711, allocations: 2.75 MB / 472.5 MB, free: 1.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006998/0.5718, allocations: 0.5301 MB / 473 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.5721, allocations: 100 kB / 473.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.5724, allocations: 0.5291 MB / 473.6 MB, free: 0 / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.5748, allocations: 1.681 MB / 475.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004551/0.5794, allocations: 5.075 MB / 480.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/0.5831, allocations: 2.859 MB / 483.3 MB, free: 4.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.672e-05/0.5832, allocations: 36 kB / 483.3 MB, free: 4.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009452/0.5926, allocations: 6.652 MB / 489.9 MB, free: 14.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.009e-05/0.5927, allocations: 59.95 kB / 490 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.5928, allocations: 124 kB / 490.1 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.5934, allocations: 340.5 kB / 490.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/0.5967, allocations: 1.243 MB / 491.7 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.5993, allocations: 2.326 MB / 494 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/0.6026, allocations: 286.2 kB / 494.3 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004141/0.603, allocations: 334.3 kB / 494.6 MB, free: 10.21 MB / 398.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 (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.002903/0.606, allocations: 1.796 MB / 496.4 MB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/0.6064, allocations: 308 kB / 496.7 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.6108, allocations: 2.351 MB / 499.1 MB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.6108, allocations: 16 kB / 499.1 MB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.6108, allocations: 4 kB / 499.1 MB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6109, allocations: 7.969 kB / 499.1 MB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.6214, allocations: 5.952 MB / 0.4932 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6214, allocations: 0 / 0.4932 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.6222, allocations: 167.8 kB / 0.4934 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.6243, allocations: 0.7206 MB / 0.4941 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.6244, allocations: 24.12 kB / 0.4941 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005392/0.6298, allocations: 4.574 MB / 0.4986 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6298, allocations: 4 kB / 0.4986 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006185/0.636, allocations: 4.424 MB / 0.5029 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/0.6377, allocations: 0.5399 MB / 0.5034 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000351/0.638, allocations: 26.56 kB / 0.5035 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6391, allocations: 63.91 kB / 0.5035 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.6393, allocations: 76.52 kB / 0.5036 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/0.6394, allocations: 28 kB / 0.5036 GB, free: 4.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003576/0.643, allocations: 2.413 MB / 0.506 GB, free: 2.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.643, allocations: 0 / 0.506 GB, free: 2.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004014/0.647, allocations: 0.8467 MB / 0.5068 GB, free: 1.707 MB / 414.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 (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.000417/0.6475, allocations: 168.2 kB / 0.507 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005374/0.6529, allocations: 3.986 MB / 0.5109 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6529, allocations: 0 / 0.5109 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.6543, allocations: 1.114 MB / 0.5119 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.6559, allocations: 366.7 kB / 0.5123 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.6684, allocations: 8.597 MB / 0.5207 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.6713, allocations: 2.861 MB / 0.5235 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003847/0.6751, allocations: 1.655 MB / 0.5251 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.6757, allocations: 215.4 kB / 0.5253 GB, free: 14.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.244e-06/0.6757, allocations: 0 / 0.5253 GB, free: 14.7 MB / 446.1 MB Notification: Performance of Templates: time 0.2132/0.8889, allocations: 29.49 MB / 0.5541 GB, free: 158.2 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches