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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005008/0.005008, allocations: 114 kB / 21.97 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 212.3 kB / 25.28 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 207.6 MB / 236.1 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 48.22 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2328, allocations: 49.16 MB / 397.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.009061/0.2419, allocations: 10.32 MB / 407.5 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007589/0.2495, allocations: 3.84 MB / 411.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.2515, allocations: 65.06 kB / 411.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.2556, allocations: 1.981 MB / 413.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.2608, allocations: 1.698 MB / 415 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.2626, allocations: 0.6278 MB / 415.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005053/0.2677, allocations: 3.346 MB / 419 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.2705, allocations: 2.134 MB / 421.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.2727, allocations: 1.269 MB / 422.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.2752, allocations: 1.817 MB / 424.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.2757, allocations: 258.2 kB / 424.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.2778, allocations: 1.054 MB / 425.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.2793, allocations: 1.628 MB / 427.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.2813, allocations: 1.833 MB / 429 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006912/0.2882, allocations: 5.871 MB / 434.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.2882, allocations: 4 kB / 434.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2882, allocations: 0 / 434.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001377/0.2883, allocations: 0 / 434.9 MB, free: 13.61 MB / 350.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.007789/0.2961, allocations: 4.069 MB / 438.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2962, allocations: 19.98 kB / 439 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.2e-05/0.2963, allocations: 85.16 kB / 439.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007372/0.297, allocations: 0.6121 MB / 439.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006179/0.3032, allocations: 1.8 MB / 441.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004354/0.3075, allocations: 2.364 MB / 443.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.3077, allocations: 188.8 kB / 444 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004788/0.3082, allocations: 263.7 kB / 444.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.3213, allocations: 8.423 MB / 452.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.975e-05/0.3214, allocations: 43.64 kB / 452.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.3217, allocations: 127.9 kB / 452.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/0.3245, allocations: 1.699 MB / 454.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.3379, allocations: 7.09 MB / 461.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04199/0.3799, allocations: 34 MB / 495.6 MB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007253/0.3872, allocations: 2.73 MB / 498.4 MB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.3891, allocations: 1.353 MB / 499.7 MB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006353/0.3954, allocations: 3.68 MB / 0.4916 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.3955, allocations: 51.16 kB / 0.4917 GB, free: 7.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.577e-06/0.3955, allocations: 0 / 0.4917 GB, free: 7.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02814/0.4236, allocations: 11.53 MB / 0.5029 GB, free: 11.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.4237, allocations: 141.2 kB / 0.5031 GB, free: 11.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004963/0.4287, allocations: 3.751 MB / 0.5067 GB, free: 7.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.4289, allocations: 41.7 kB / 0.5068 GB, free: 7.547 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.431, allocations: 2.87 MB / 0.5096 GB, free: 4.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/0.4316, allocations: 0.539 MB / 0.5101 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.433, allocations: 1.084 MB / 0.5111 GB, free: 3.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4331, allocations: 305.1 kB / 0.5114 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/0.4356, allocations: 1.689 MB / 0.5131 GB, free: 1.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005274/0.4409, allocations: 5.119 MB / 0.5181 GB, free: 10.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009318/0.4502, allocations: 7.412 MB / 0.5253 GB, free: 1.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.077e-05/0.4503, allocations: 32 kB / 0.5254 GB, free: 1.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01109/0.4614, allocations: 6.721 MB / 0.5319 GB, free: 10.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-05/0.4615, allocations: 64.03 kB / 0.532 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.4616, allocations: 120 kB / 0.5321 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.4622, allocations: 317.2 kB / 0.5324 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003539/0.4658, allocations: 1.24 MB / 0.5336 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.4685, allocations: 2.389 MB / 0.5359 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.4717, allocations: 291.6 kB / 0.5362 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004706/0.4721, allocations: 332 kB / 0.5365 GB, free: 5.434 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 (664): * Single equations (assignments): 660 * 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.00253/0.4747, allocations: 1.787 MB / 0.5383 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005431/0.4752, allocations: 333.7 kB / 0.5386 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.4798, allocations: 2.355 MB / 0.5409 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.4798, allocations: 16 kB / 0.5409 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.4798, allocations: 7.938 kB / 0.5409 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.4799, allocations: 12.09 kB / 0.5409 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.4913, allocations: 5.886 MB / 0.5467 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.4913, allocations: 0 / 0.5467 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007929/0.4921, allocations: 179.7 kB / 0.5469 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.4942, allocations: 0.7147 MB / 0.5476 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.894e-05/0.4943, allocations: 20 kB / 0.5476 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006115/0.5004, allocations: 4.706 MB / 0.5522 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5004, allocations: 0 / 0.5522 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006924/0.5074, allocations: 4.335 MB / 0.5564 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.5086, allocations: 485.5 kB / 0.5569 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/0.5089, allocations: 20 kB / 0.5569 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/0.5099, allocations: 63.91 kB / 0.5569 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5101, allocations: 72.45 kB / 0.557 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/0.5102, allocations: 39.98 kB / 0.557 GB, free: 188 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.1759/0.6861, allocations: 2.332 MB / 0.5593 GB, free: 144.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6861, allocations: 0 / 0.5593 GB, free: 144.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004087/0.6901, allocations: 0.8137 MB / 0.5601 GB, free: 144.6 MB / 478.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.006468/0.6966, allocations: 4.969 MB / 0.565 GB, free: 142.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005622/0.7022, allocations: 3.883 MB / 0.5688 GB, free: 141.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.7022, allocations: 4.531 kB / 0.5688 GB, free: 141.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.7036, allocations: 1.03 MB / 0.5698 GB, free: 140.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.7058, allocations: 393.4 kB / 0.5702 GB, free: 140.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/0.7405, allocations: 37.86 MB / 0.6071 GB, free: 108.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/0.7427, allocations: 2.786 MB / 0.6098 GB, free: 105.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002908/0.7456, allocations: 1.664 MB / 0.6115 GB, free: 104.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/0.7471, allocations: 1.526 MB / 0.613 GB, free: 102.7 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.7471, allocations: 0 / 0.613 GB, free: 102.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08763/0.8347, allocations: 62.53 MB / 0.674 GB, free: 40.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.56/24.4, allocations: 3.938 kB / 0.674 GB, free: 40.13 MB / 478.1 MB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.65495729300892]