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.00134/0.00134, allocations: 102.2 kB / 18.24 MB, free: 4.77 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.001607/0.001607, allocations: 195.3 kB / 19.18 MB, free: 3.84 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.429/1.429, allocations: 205.1 MB / 225 MB, free: 12.31 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.001339/0.001339, allocations: 52.56 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.0891, allocations: 46.64 MB / 328 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01111/0.1003, allocations: 10.23 MB / 338.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007488/0.1078, allocations: 3.784 MB / 342 MB, free: 6.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.1098, allocations: 55.81 kB / 342 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004033/0.1139, allocations: 1.939 MB / 344 MB, free: 4.391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.1183, allocations: 1.657 MB / 345.6 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.1199, allocations: 0.616 MB / 346.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004845/0.1248, allocations: 3.342 MB / 349.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003524/0.1283, allocations: 2.584 MB / 352.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.1306, allocations: 1.246 MB / 353.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.1332, allocations: 1.67 MB / 355.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000806/0.1341, allocations: 260 kB / 355.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.1364, allocations: 1.026 MB / 356.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001772/0.1382, allocations: 1.558 MB / 357.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003052/0.1413, allocations: 1.837 MB / 359.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006722/0.148, allocations: 5.615 MB / 365.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.148, allocations: 0 / 365.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1481, allocations: 0 / 365.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002222/0.1483, allocations: 0 / 365.4 MB, free: 14.88 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.0106/0.1589, allocations: 4.022 MB / 369.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.159, allocations: 11.89 kB / 369.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006834/0.1658, allocations: 1.77 MB / 371.2 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.1699, allocations: 1.971 MB / 373.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.1701, allocations: 196.8 kB / 373.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007962/0.1709, allocations: 251.9 kB / 373.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1884/0.3593, allocations: 8.422 MB / 382 MB, free: 47.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.3594, allocations: 45.52 kB / 382 MB, free: 47.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.3598, allocations: 126.6 kB / 382.2 MB, free: 47.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003315/0.3631, allocations: 1.692 MB / 383.9 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.3786, allocations: 7.097 MB / 391 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03412/0.4128, allocations: 34.16 MB / 425.1 MB, free: 16.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006678/0.4195, allocations: 3.285 MB / 428.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4212, allocations: 1.456 MB / 429.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005932/0.4271, allocations: 4.365 MB / 434.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.4272, allocations: 55.06 kB / 434.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=121): time 4.588e-06/0.4272, allocations: 0 / 434.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=129): time 0.02707/0.4543, allocations: 11.53 MB / 445.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.4545, allocations: 145.2 kB / 446 MB, free: 10.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/0.4593, allocations: 3.725 MB / 449.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.4595, allocations: 41.7 kB / 449.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.4615, allocations: 2.752 MB / 452.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006392/0.4621, allocations: 0.521 MB / 453 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.4635, allocations: 1.075 MB / 454.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4636, allocations: 305.1 kB / 454.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.466, allocations: 1.709 MB / 456.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004538/0.4705, allocations: 5.132 MB / 461.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008089/0.4786, allocations: 7.415 MB / 468.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.4788, allocations: 36 kB / 468.7 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01147/0.4902, allocations: 6.719 MB / 475.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/0.4904, allocations: 63.94 kB / 475.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/0.4905, allocations: 120 kB / 475.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/0.4912, allocations: 328.9 kB / 475.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003731/0.4949, allocations: 1.246 MB / 477.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.4978, allocations: 2.497 MB / 479.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/0.5018, allocations: 295.5 kB / 479.9 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006311/0.5025, allocations: 328 kB / 480.2 MB, free: 4.746 MB / 366.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.003043/0.5055, allocations: 1.779 MB / 482 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006847/0.5062, allocations: 308 kB / 482.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004831/0.5111, allocations: 2.378 MB / 484.7 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.5111, allocations: 19.94 kB / 484.7 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.5111, allocations: 4 kB / 484.7 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5112, allocations: 3.984 kB / 484.7 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.5233, allocations: 5.925 MB / 490.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.5234, allocations: 0 / 490.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.5242, allocations: 183.6 kB / 490.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/0.5265, allocations: 0.7147 MB / 491.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.5266, allocations: 20 kB / 491.6 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006503/0.5331, allocations: 4.808 MB / 496.4 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5331, allocations: 0 / 496.4 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007453/0.5406, allocations: 4.325 MB / 0.489 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.5422, allocations: 0.5243 MB / 0.4895 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/0.5426, allocations: 23.98 kB / 0.4895 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.5437, allocations: 67.84 kB / 0.4896 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.5439, allocations: 72.5 kB / 0.4896 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.123e-05/0.544, allocations: 35.98 kB / 0.4897 GB, free: 15.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003616/0.5476, allocations: 2.327 MB / 0.4919 GB, free: 12.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.5477, allocations: 4.062 kB / 0.4919 GB, free: 12.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004589/0.5522, allocations: 0.8216 MB / 0.4927 GB, free: 12.14 MB / 398.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.0004141/0.5527, allocations: 149.8 kB / 0.4929 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007363/0.5601, allocations: 4.411 MB / 0.4972 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.5601, allocations: 0 / 0.4972 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.5618, allocations: 1.119 MB / 0.4983 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.5644, allocations: 395.6 kB / 0.4987 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.5789, allocations: 7.75 MB / 0.5062 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/0.5823, allocations: 2.785 MB / 0.5089 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.5834, allocations: 247.4 kB / 0.5092 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5834, allocations: 0 / 0.5092 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Templates: time 0.2692/0.8526, allocations: 63.96 MB / 0.5716 GB, free: 121.2 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/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