Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 187.1 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 47.86 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2325, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01173/0.2443, allocations: 10.3 MB / 432.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007557/0.2518, allocations: 3.83 MB / 436.8 MB, free: 436 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.2531, allocations: 67.69 kB / 436.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.2571, allocations: 1.985 MB / 438.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.2612, allocations: 1.7 MB / 440.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.2626, allocations: 0.6237 MB / 441.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004673/0.2672, allocations: 3.334 MB / 444.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.2698, allocations: 2.121 MB / 446.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.2715, allocations: 1.261 MB / 447.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/0.2741, allocations: 1.818 MB / 449.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005499/0.2747, allocations: 256 kB / 449.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.2767, allocations: 1.073 MB / 451 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.2782, allocations: 1.609 MB / 452.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.28, allocations: 1.837 MB / 454.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006557/0.2866, allocations: 5.86 MB / 460.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2866, allocations: 0 / 460.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2866, allocations: 0 / 460.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000161/0.2867, allocations: 4 kB / 460.3 MB, free: 8.758 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.007357/0.2941, allocations: 4.057 MB / 464.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2941, allocations: 8.031 kB / 464.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000736/0.2949, allocations: 0.612 MB / 465 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005935/0.3008, allocations: 1.812 MB / 466.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/0.3055, allocations: 2.203 MB / 469 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.3056, allocations: 188.8 kB / 469.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005587/0.3062, allocations: 251.8 kB / 469.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.3197, allocations: 8.427 MB / 477.9 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.3198, allocations: 39.7 kB / 477.9 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.3201, allocations: 123.9 kB / 478 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002679/0.3228, allocations: 1.695 MB / 479.7 MB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.3358, allocations: 7.102 MB / 486.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04203/0.3779, allocations: 33.97 MB / 0.5086 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007131/0.385, allocations: 2.724 MB / 0.5112 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.387, allocations: 1.371 MB / 0.5126 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007234/0.3942, allocations: 3.672 MB / 0.5162 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.3943, allocations: 51.16 kB / 0.5162 GB, free: 2.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.097e-06/0.3943, allocations: 0 / 0.5162 GB, free: 2.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02904/0.4233, allocations: 11.48 MB / 0.5274 GB, free: 7.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/0.4234, allocations: 149 kB / 0.5276 GB, free: 6.832 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005764/0.4292, allocations: 3.731 MB / 0.5312 GB, free: 3.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.4294, allocations: 45.69 kB / 0.5312 GB, free: 3.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002185/0.4316, allocations: 2.862 MB / 0.534 GB, free: 172 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1904/0.6219, allocations: 0.5381 MB / 0.5346 GB, free: 108.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001889/0.6238, allocations: 1.084 MB / 0.5356 GB, free: 108.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.6238, allocations: 304.4 kB / 0.5359 GB, free: 108.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/0.6264, allocations: 1.696 MB / 0.5376 GB, free: 107.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/0.6297, allocations: 5.116 MB / 0.5426 GB, free: 102.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005275/0.6349, allocations: 7.409 MB / 0.5498 GB, free: 95.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.234e-05/0.635, allocations: 36.91 kB / 0.5498 GB, free: 95.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.00871/0.6437, allocations: 6.708 MB / 0.5564 GB, free: 93.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.6438, allocations: 56 kB / 0.5564 GB, free: 93.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.301e-05/0.6439, allocations: 120 kB / 0.5566 GB, free: 92.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/0.6444, allocations: 327.2 kB / 0.5569 GB, free: 92.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/0.6474, allocations: 1.235 MB / 0.5581 GB, free: 91.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.6494, allocations: 2.394 MB / 0.5604 GB, free: 89.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.6527, allocations: 284 kB / 0.5607 GB, free: 89.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/0.6532, allocations: 335.9 kB / 0.561 GB, free: 88.75 MB / 446.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.002018/0.6552, allocations: 1.791 MB / 0.5628 GB, free: 87.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.6556, allocations: 330.3 kB / 0.5631 GB, free: 87.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.6592, allocations: 2.354 MB / 0.5654 GB, free: 85.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.6592, allocations: 12 kB / 0.5654 GB, free: 85.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6592, allocations: 4 kB / 0.5654 GB, free: 85.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.6592, allocations: 11.59 kB / 0.5654 GB, free: 85.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009257/0.6685, allocations: 5.879 MB / 0.5711 GB, free: 79.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.6685, allocations: 4.125 kB / 0.5711 GB, free: 79.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007596/0.6692, allocations: 175.8 kB / 0.5713 GB, free: 79.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.671, allocations: 0.7169 MB / 0.572 GB, free: 78.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.6711, allocations: 20 kB / 0.572 GB, free: 78.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004443/0.6756, allocations: 4.715 MB / 0.5766 GB, free: 73.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6756, allocations: 0 / 0.5766 GB, free: 73.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005146/0.6807, allocations: 4.337 MB / 0.5809 GB, free: 69.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.6814, allocations: 304.2 kB / 0.5812 GB, free: 68.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.6818, allocations: 20 kB / 0.5812 GB, free: 68.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000972/0.6827, allocations: 65.69 kB / 0.5812 GB, free: 68.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.6829, allocations: 72.52 kB / 0.5813 GB, free: 68.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.576e-05/0.683, allocations: 36.06 kB / 0.5813 GB, free: 68.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002514/0.6855, allocations: 2.327 MB / 0.5836 GB, free: 66.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6855, allocations: 0 / 0.5836 GB, free: 66.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003655/0.6891, allocations: 0.8193 MB / 0.5844 GB, free: 65.62 MB / 446.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.005371/0.6945, allocations: 4.969 MB / 0.5893 GB, free: 60.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004902/0.6994, allocations: 3.885 MB / 0.5931 GB, free: 56.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6994, allocations: 0.5625 kB / 0.5931 GB, free: 56.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.7005, allocations: 1.025 MB / 0.5941 GB, free: 55.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.7025, allocations: 399 kB / 0.5944 GB, free: 55.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0387/0.7412, allocations: 37.77 MB / 0.6313 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/0.7432, allocations: 2.785 MB / 0.634 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002832/0.7461, allocations: 1.664 MB / 0.6357 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/0.7476, allocations: 1.519 MB / 0.6372 GB, free: 6.387 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7476, allocations: 0 / 0.6372 GB, free: 6.387 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/0.8985, allocations: 62.38 MB / 0.6981 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.57/24.46, allocations: 9.125 kB / 0.6981 GB, free: 8.418 MB / 0.4981 GB " [Timeout remaining time 635] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.285686552990228]