Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008602/0.0008602, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009126/0.0009126, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9083/0.9083, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.553e-05, allocations: 6.219 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003291/0.003317, allocations: 2.333 MB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.003717, allocations: 255 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.003814, allocations: 7.938 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003935, allocations: 47.58 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.004045, allocations: 87.14 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.004189, allocations: 71.89 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.004401, allocations: 338.3 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.004539, allocations: 71.48 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.004678, allocations: 191.6 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004784, allocations: 87.77 kB / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.004818, allocations: 24 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.004844, allocations: 24 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.004904, allocations: 59.75 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.004996, allocations: 103.8 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.005252, allocations: 319 kB / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005255, allocations: 0 / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005256, allocations: 0 / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.00526, allocations: 0 / 328.5 MB, free: 11.92 MB / 298.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.0005347/0.005795, allocations: 0.5014 MB / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.005831, allocations: 15.98 kB / 329 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.005882, allocations: 58.73 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.005917, allocations: 32.75 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.006134, allocations: 193.3 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.006151, allocations: 21.03 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.006186, allocations: 24.38 kB / 329.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.00652, allocations: 252.3 kB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.006536, allocations: 8.172 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.006551, allocations: 8.375 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.006559, allocations: 12.12 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.006753, allocations: 179.9 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.007411, allocations: 0.6438 MB / 330.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.007692, allocations: 264.4 kB / 330.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.007808, allocations: 117.7 kB / 330.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.007827, allocations: 11.88 kB / 330.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.007848, allocations: 38.56 kB / 330.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.333e-06/0.00785, allocations: 4 kB / 330.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001717/0.009566, allocations: 1.411 MB / 332.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.009613, allocations: 89.03 kB / 332.3 MB, free: 7.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.009744, allocations: 199.6 kB / 332.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.009764, allocations: 33.7 kB / 332.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.009846, allocations: 140.8 kB / 332.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.009933, allocations: 178.5 kB / 332.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.01, allocations: 70.2 kB / 332.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.0101, allocations: 342.8 kB / 333.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.01021, allocations: 101 kB / 333.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.01035, allocations: 156.8 kB / 333.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.01062, allocations: 278.2 kB / 333.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01062, allocations: 4 kB / 333.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003319/0.01096, allocations: 370 kB / 334.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01097, allocations: 7.938 kB / 334.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01098, allocations: 4 kB / 334.2 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01099, allocations: 4 kB / 334.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.01121, allocations: 103.8 kB / 334.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01122, allocations: 7.984 kB / 334.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.01128, allocations: 11.94 kB / 334.3 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.01129, allocations: 16 kB / 334.3 MB, free: 5.73 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.796e-05/0.01139, allocations: 153.8 kB / 334.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.01143, allocations: 31.81 kB / 334.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.01148, allocations: 45.83 kB / 334.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01148, allocations: 4 kB / 334.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.01149, allocations: 4 kB / 334.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.01149, allocations: 3.984 kB / 334.6 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.01252, allocations: 0.8611 MB / 335.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01252, allocations: 0 / 335.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.01275, allocations: 95.95 kB / 335.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.01275, allocations: 4 kB / 335.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.01277, allocations: 12 kB / 335.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01277, allocations: 4 kB / 335.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.01277, allocations: 3.938 kB / 335.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.01326, allocations: 0.6496 MB / 336.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.01328, allocations: 23.84 kB / 336.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.01331, allocations: 16 kB / 336.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.01339, allocations: 11.94 kB / 336.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.01343, allocations: 27.95 kB / 336.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.01344, allocations: 16 kB / 336.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.365e-05/0.0135, allocations: 131.2 kB / 336.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0135, allocations: 0 / 336.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.01373, allocations: 84 kB / 336.5 MB, free: 3.465 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.0006516/0.01439, allocations: 1.194 MB / 337.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.01475, allocations: 275.1 kB / 338 MB, free: 1.969 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.01476, allocations: 7.938 kB / 338 MB, free: 1.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.01493, allocations: 140 kB / 338.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.01548, allocations: 63.22 kB / 338.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.01892, allocations: 3.114 MB / 341.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.01904, allocations: 172.7 kB / 341.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.01917, allocations: 42.89 kB / 341.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.0193, allocations: 100.5 kB / 341.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.0193, allocations: 0 / 341.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.04079, allocations: 6.972 MB / 348.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.864, allocations: 7.938 kB / 348.6 MB, free: 7.375 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.721599885262549]