Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001328/0.001328, allocations: 111.1 kB / 20.44 MB, free: 1.348 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.001496/0.001496, allocations: 209.6 kB / 23.72 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2326, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01136/0.2439, allocations: 8.981 MB / 440.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.2514, allocations: 3.602 MB / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.2527, allocations: 67.69 kB / 443.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.2569, allocations: 1.908 MB / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.2613, allocations: 1.677 MB / 447.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.2629, allocations: 0.616 MB / 447.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005269/0.2682, allocations: 3.357 MB / 451.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003794/0.272, allocations: 2.106 MB / 453.4 MB, free: 212 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.2746, allocations: 1.261 MB / 454.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.2774, allocations: 1.717 MB / 456.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007766/0.2782, allocations: 256 kB / 456.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.2803, allocations: 0.9205 MB / 457.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00195/0.2822, allocations: 1.597 MB / 459.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.2845, allocations: 1.335 MB / 460.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006649/0.2912, allocations: 5.832 MB / 466.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2912, allocations: 0 / 466.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2912, allocations: 4 kB / 466.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.396e-05/0.2913, allocations: 0 / 466.3 MB, free: 3.242 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.006996/0.2983, allocations: 4.034 MB / 470.4 MB, free: 15.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.2983, allocations: 12.03 kB / 470.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008343/0.2991, allocations: 0.6082 MB / 471 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006439/0.3056, allocations: 1.8 MB / 472.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/0.3104, allocations: 2.121 MB / 474.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.3106, allocations: 192.8 kB / 475.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005441/0.3111, allocations: 251.9 kB / 475.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.325, allocations: 8.468 MB / 483.8 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.3251, allocations: 39.7 kB / 483.8 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.3254, allocations: 123.9 kB / 484 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002896/0.3283, allocations: 1.703 MB / 485.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.3414, allocations: 7.082 MB / 492.7 MB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03966/0.3811, allocations: 32.8 MB / 0.5132 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007289/0.3884, allocations: 2.723 MB / 0.5159 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.3903, allocations: 1.365 MB / 0.5172 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00605/0.3963, allocations: 3.345 MB / 0.5205 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.3964, allocations: 55.14 kB / 0.5205 GB, free: 14.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.346e-06/0.3964, allocations: 0 / 0.5205 GB, free: 14.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.02903/0.4254, allocations: 11.57 MB / 0.5318 GB, free: 2.984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/0.4255, allocations: 149 kB / 0.532 GB, free: 2.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2003/0.6258, allocations: 3.922 MB / 0.5358 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002442/0.626, allocations: 41.2 kB / 0.5359 GB, free: 101.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001632/0.6276, allocations: 2.859 MB / 0.5386 GB, free: 99.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005214/0.6282, allocations: 0.5499 MB / 0.5392 GB, free: 99.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.6295, allocations: 1.086 MB / 0.5402 GB, free: 98.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4e-05/0.6295, allocations: 302.7 kB / 0.5405 GB, free: 98.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.6318, allocations: 1.7 MB / 0.5422 GB, free: 98.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003058/0.6348, allocations: 5.126 MB / 0.5472 GB, free: 92.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/0.6401, allocations: 7.409 MB / 0.5544 GB, free: 86.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.722e-05/0.6401, allocations: 37.12 kB / 0.5545 GB, free: 86.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008044/0.6482, allocations: 6.722 MB / 0.561 GB, free: 82.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/0.6483, allocations: 56 kB / 0.5611 GB, free: 82.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.379e-05/0.6483, allocations: 124 kB / 0.5612 GB, free: 82.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004965/0.6488, allocations: 320.5 kB / 0.5615 GB, free: 82.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.6519, allocations: 1.242 MB / 0.5627 GB, free: 81.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.6538, allocations: 2.379 MB / 0.565 GB, free: 78.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/0.6572, allocations: 286.2 kB / 0.5653 GB, free: 78.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/0.6575, allocations: 335.8 kB / 0.5656 GB, free: 78.26 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.001903/0.6594, allocations: 1.792 MB / 0.5674 GB, free: 76.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/0.6599, allocations: 325.8 kB / 0.5677 GB, free: 76.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.6639, allocations: 2.355 MB / 0.57 GB, free: 74.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.6639, allocations: 16 kB / 0.57 GB, free: 74.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6639, allocations: 4 kB / 0.57 GB, free: 74.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.6639, allocations: 7.969 kB / 0.57 GB, free: 74.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.674, allocations: 5.647 MB / 0.5755 GB, free: 68.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.674, allocations: 0 / 0.5755 GB, free: 68.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.6748, allocations: 171.8 kB / 0.5757 GB, free: 68.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.6767, allocations: 0.7108 MB / 0.5764 GB, free: 67.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/0.6767, allocations: 27.98 kB / 0.5764 GB, free: 67.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/0.6812, allocations: 4.678 MB / 0.581 GB, free: 62.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6812, allocations: 0 / 0.581 GB, free: 62.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/0.6868, allocations: 4.349 MB / 0.5852 GB, free: 58.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/0.6876, allocations: 297.7 kB / 0.5855 GB, free: 58.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.6879, allocations: 24.12 kB / 0.5856 GB, free: 58.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.689, allocations: 67.91 kB / 0.5856 GB, free: 58.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.6891, allocations: 69.94 kB / 0.5857 GB, free: 58.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/0.6892, allocations: 39.34 kB / 0.5857 GB, free: 57.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002517/0.6917, allocations: 2.319 MB / 0.588 GB, free: 55.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6917, allocations: 0 / 0.588 GB, free: 55.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003429/0.6951, allocations: 0.7929 MB / 0.5888 GB, free: 54.88 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.005455/0.7006, allocations: 4.985 MB / 0.5936 GB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004467/0.7051, allocations: 3.897 MB / 0.5974 GB, free: 45.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7051, allocations: 0 / 0.5974 GB, free: 45.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.7062, allocations: 1.038 MB / 0.5984 GB, free: 44.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.7081, allocations: 400.5 kB / 0.5988 GB, free: 44.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03735/0.7455, allocations: 37.76 MB / 0.6357 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002945/0.7484, allocations: 2.232 MB / 0.6379 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004056/0.7525, allocations: 1.656 MB / 0.6395 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/0.7552, allocations: 1.522 MB / 0.641 GB, free: 12.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7552, allocations: 0 / 0.641 GB, free: 12.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/0.8773, allocations: 58 MB / 0.6976 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.48, allocations: 14.81 kB / 0.6976 GB, free: 2.883 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 19.007538734935224]