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.001912/0.001911, allocations: 115.9 kB / 17.74 MB, free: 5.34 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.002014/0.002014, allocations: 181.3 kB / 20.68 MB, free: 2.41 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.477/1.477, allocations: 222.9 MB / 246.4 MB, free: 4.355 MB / 190.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.00169/0.00169, allocations: 47.92 kB / 357.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1044, allocations: 49.44 MB / 406.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01296/0.1174, allocations: 10.22 MB / 417.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008754/0.1262, allocations: 3.79 MB / 420.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.1282, allocations: 55.81 kB / 421 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004447/0.1327, allocations: 1.939 MB / 422.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.1381, allocations: 1.657 MB / 424.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.14, allocations: 0.6238 MB / 425.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005547/0.1456, allocations: 3.321 MB / 428.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2198/0.3654, allocations: 2.578 MB / 431.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.3674, allocations: 1.244 MB / 432.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.3697, allocations: 1.664 MB / 434 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006684/0.3704, allocations: 256.4 kB / 434.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.3728, allocations: 1.034 MB / 435.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001864/0.3747, allocations: 1.556 MB / 436.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.3771, allocations: 1.833 MB / 438.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008259/0.3854, allocations: 5.86 MB / 444.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.3854, allocations: 3.125 kB / 444.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3855, allocations: 0.9062 kB / 444.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002284/0.3857, allocations: 0 / 444.6 MB, free: 3.207 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.01037/0.3961, allocations: 4.13 MB / 448.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3961, allocations: 9.125 kB / 448.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001392/0.3975, allocations: 0.6073 MB / 449.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006794/0.4043, allocations: 1.81 MB / 451.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/0.4096, allocations: 2.264 MB / 453.4 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.4098, allocations: 193.2 kB / 453.6 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008778/0.4107, allocations: 259.9 kB / 453.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.4271, allocations: 8.434 MB / 462.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.4272, allocations: 42.2 kB / 462.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004735/0.4277, allocations: 127.9 kB / 462.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002845/0.4306, allocations: 1.699 MB / 464.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.4453, allocations: 7.094 MB / 471.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04656/0.4919, allocations: 34.09 MB / 0.4935 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008025/0.5, allocations: 3.277 MB / 0.4967 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/0.5023, allocations: 1.461 MB / 0.4981 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00731/0.5096, allocations: 4.368 MB / 0.5024 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.5097, allocations: 53.69 kB / 0.5024 GB, free: 10.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.999e-06/0.5097, allocations: 0 / 0.5024 GB, free: 10.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.0338/0.5435, allocations: 11.71 MB / 0.5138 GB, free: 14.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5437, allocations: 138.5 kB / 0.514 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007663/0.5514, allocations: 3.731 MB / 0.5176 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003344/0.5517, allocations: 41.7 kB / 0.5177 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002902/0.5546, allocations: 2.875 MB / 0.5205 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009224/0.5556, allocations: 0.5419 MB / 0.521 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002883/0.5585, allocations: 1.081 MB / 0.5221 GB, free: 6.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5586, allocations: 309.1 kB / 0.5224 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.5619, allocations: 1.697 MB / 0.524 GB, free: 4.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00653/0.5684, allocations: 5.115 MB / 0.529 GB, free: 13.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009746/0.5782, allocations: 7.412 MB / 0.5362 GB, free: 4.812 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.5784, allocations: 36 kB / 0.5363 GB, free: 4.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01418/0.5926, allocations: 6.716 MB / 0.5428 GB, free: 14.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.5928, allocations: 60 kB / 0.5429 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002141/0.593, allocations: 120 kB / 0.543 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008272/0.5938, allocations: 316.7 kB / 0.5433 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/0.5983, allocations: 1.244 MB / 0.5445 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.6017, allocations: 2.498 MB / 0.547 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/0.6062, allocations: 283.6 kB / 0.5472 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/0.6075, allocations: 332 kB / 0.5475 GB, free: 9.086 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.004824/0.6124, allocations: 1.787 MB / 0.5493 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009623/0.6133, allocations: 325.8 kB / 0.5496 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006152/0.6195, allocations: 2.363 MB / 0.5519 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.506e-05/0.6196, allocations: 16 kB / 0.5519 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/0.6196, allocations: 4 kB / 0.5519 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/0.6196, allocations: 7.969 kB / 0.5519 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.6364, allocations: 5.922 MB / 0.5577 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.6364, allocations: 0 / 0.5577 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000988/0.6374, allocations: 179.7 kB / 0.5579 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.64, allocations: 0.7108 MB / 0.5586 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000251/0.6403, allocations: 23.94 kB / 0.5586 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006994/0.6473, allocations: 4.81 MB / 0.5633 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6473, allocations: 0 / 0.5633 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007864/0.6552, allocations: 4.345 MB / 0.5675 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.6563, allocations: 382.8 kB / 0.5679 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000766/0.6571, allocations: 23.94 kB / 0.5679 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.6586, allocations: 63.91 kB / 0.568 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.6589, allocations: 72.5 kB / 0.5681 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.6591, allocations: 36.12 kB / 0.5681 GB, free: 3.789 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005076/0.6641, allocations: 2.327 MB / 0.5704 GB, free: 1.477 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6642, allocations: 4.062 kB / 0.5704 GB, free: 1.473 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005812/0.67, allocations: 0.8151 MB / 0.5712 GB, free: 0.6602 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.008851/0.6789, allocations: 4.984 MB / 0.576 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007859/0.6868, allocations: 4.031 MB / 0.58 GB, free: 7.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.6868, allocations: 4 kB / 0.58 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.6888, allocations: 1.107 MB / 0.5811 GB, free: 6.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/0.6924, allocations: 386.8 kB / 0.5814 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2796/0.9721, allocations: 37.7 MB / 0.6182 GB, free: 179.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00399/0.9761, allocations: 2.784 MB / 0.621 GB, free: 178.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004296/0.9804, allocations: 1.662 MB / 0.6226 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002592/0.983, allocations: 1.521 MB / 0.6241 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.9831, allocations: 0 / 0.6241 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.09, allocations: 57.6 MB / 0.6803 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.7/24.79, allocations: 15.73 kB / 0.6803 GB, free: 135.7 MB / 0.5137 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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.465858065057546]