Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.0008217/0.0008217, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008227/0.0008227, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8459/0.8459, allocations: 173.3 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.32e-05, allocations: 5.516 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002655/0.002678, allocations: 2.292 MB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005503/0.003229, allocations: 267 kB / 321 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003331, allocations: 4 kB / 321 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.003475, allocations: 43.52 kB / 321 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.003617, allocations: 95.08 kB / 321.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.003797, allocations: 67.89 kB / 321.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.004055, allocations: 338.3 kB / 321.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.004225, allocations: 75.56 kB / 321.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.004383, allocations: 183.6 kB / 321.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.004496, allocations: 95.69 kB / 321.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.004531, allocations: 28 kB / 321.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.004557, allocations: 24 kB / 321.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.004594, allocations: 59.75 kB / 322 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.00466, allocations: 99.75 kB / 322.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.004992, allocations: 315 kB / 322.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004994, allocations: 0 / 322.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004995, allocations: 4 kB / 322.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.005, allocations: 0 / 322.4 MB, free: 2.379 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005712/0.005571, allocations: 0.4937 MB / 322.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.005614, allocations: 12.92 kB / 322.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.00567, allocations: 62.67 kB / 322.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.005719, allocations: 40.75 kB / 323 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.006, allocations: 185.4 kB / 323.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.006018, allocations: 21.03 kB / 323.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.006057, allocations: 32.33 kB / 323.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.00635, allocations: 256.3 kB / 323.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.006366, allocations: 4.172 kB / 323.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.006385, allocations: 12.38 kB / 323.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.006394, allocations: 8.125 kB / 323.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.006601, allocations: 171.9 kB / 323.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.007387, allocations: 0.6593 MB / 324.3 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.007682, allocations: 260.9 kB / 324.6 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.007814, allocations: 116.7 kB / 324.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.007829, allocations: 4 kB / 324.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.007852, allocations: 38.5 kB / 324.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.843e-06/0.007854, allocations: 0 / 324.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001745/0.009599, allocations: 1.421 MB / 326.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.009646, allocations: 85.11 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.009776, allocations: 174.3 kB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.009796, allocations: 37.7 kB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.009862, allocations: 144.8 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.009942, allocations: 182.4 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.01001, allocations: 74.19 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.0101, allocations: 342.8 kB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.01021, allocations: 112.9 kB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.01035, allocations: 152.8 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.01062, allocations: 278.2 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01062, allocations: 0 / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003618/0.01098, allocations: 370 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.011, allocations: 11.94 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.011, allocations: 3.984 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01102, allocations: 4 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.01123, allocations: 103.8 kB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01124, allocations: 4 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.714e-05/0.0113, allocations: 19.94 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01131, allocations: 12 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/0.0114, allocations: 149.8 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.01144, allocations: 23.92 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.01149, allocations: 53.89 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01149, allocations: 4 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.0115, allocations: 0 / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.0115, allocations: 3.984 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.01233, allocations: 0.8675 MB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01233, allocations: 4 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.01255, allocations: 95.89 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.01256, allocations: 8.062 kB / 329.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.01257, allocations: 4 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01258, allocations: 4 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01258, allocations: 3.938 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.01317, allocations: 0.6489 MB / 330.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.0132, allocations: 23.84 kB / 330.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.01323, allocations: 12 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.01332, allocations: 7.938 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.01336, allocations: 27.95 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.01337, allocations: 15.98 kB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.326e-05/0.01344, allocations: 132.4 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01344, allocations: 4 kB / 330.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.0137, allocations: 76 kB / 330.4 MB, free: 9.957 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000677/0.01438, allocations: 1.202 MB / 331.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.01469, allocations: 275.3 kB / 331.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01469, allocations: 0 / 331.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.01482, allocations: 154.1 kB / 332 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.01518, allocations: 68.03 kB / 332.1 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.01774, allocations: 3.122 MB / 335.2 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.01789, allocations: 172.7 kB / 335.4 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.01802, allocations: 30.91 kB / 335.4 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.01816, allocations: 100.5 kB / 335.5 MB, free: 4.68 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01816, allocations: 0 / 335.5 MB, free: 4.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.03592, allocations: 6.981 MB / 342.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/6.979, allocations: 3.438 kB / 342.5 MB, free: 13.86 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable m3.s in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.726588451303542]