Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001961/0.001961, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001955/0.001955, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 47.92 kB / 377.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2404, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003649/0.244, allocations: 2.314 MB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005609/0.2446, allocations: 259.1 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2447, allocations: 11.88 kB / 433.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2449, allocations: 43.56 kB / 433.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.245, allocations: 95.19 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2452, allocations: 59.86 kB / 433.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.2456, allocations: 322.5 kB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2457, allocations: 67.59 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.2459, allocations: 123.6 kB / 434.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.246, allocations: 119.4 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.2461, allocations: 24 kB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.2461, allocations: 24 kB / 434.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.2462, allocations: 59.77 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2463, allocations: 123.5 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.2467, allocations: 327 kB / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2467, allocations: 0 / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2467, allocations: 0 / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.2467, allocations: 0 / 435 MB, free: 2.688 MB / 334.1 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.0008205/0.2475, allocations: 0.4976 MB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2475, allocations: 8.031 kB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.879e-05/0.2476, allocations: 62.72 kB / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.2477, allocations: 32.75 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.248, allocations: 190.8 kB / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.248, allocations: 17.03 kB / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.2481, allocations: 36.38 kB / 435.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.2485, allocations: 260.3 kB / 436.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2485, allocations: 3.938 kB / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.2486, allocations: 12 kB / 436.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2486, allocations: 4 kB / 436.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.2489, allocations: 171.8 kB / 436.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2499, allocations: 0.6674 MB / 437 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.2503, allocations: 264 kB / 437.2 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.2505, allocations: 113.7 kB / 437.3 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2505, allocations: 4 kB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2505, allocations: 38.56 kB / 437.4 MB, free: 180 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.814e-06/0.2506, allocations: 0 / 437.4 MB, free: 180 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002577/0.2531, allocations: 1.421 MB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.2532, allocations: 81.11 kB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.2534, allocations: 188.1 kB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2534, allocations: 33.7 kB / 439.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.2535, allocations: 132.9 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.2536, allocations: 190.3 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2537, allocations: 82.14 kB / 439.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2539, allocations: 338.8 kB / 439.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.2541, allocations: 109 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.2543, allocations: 156.8 kB / 440.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.2547, allocations: 278.2 kB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2547, allocations: 0 / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005448/0.2552, allocations: 373.9 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.2553, allocations: 6.344 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2553, allocations: 4 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.2553, allocations: 0 / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.2557, allocations: 108 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2557, allocations: 0 / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2558, allocations: 12 kB / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2558, allocations: 16 kB / 440.8 MB, free: 12.51 MB / 350.1 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 0.0001504/0.256, allocations: 149.7 kB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.2561, allocations: 35.75 kB / 441 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.2561, allocations: 41.95 kB / 441.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.2561, allocations: 4 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2561, allocations: 0 / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2562, allocations: 7.984 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.2575, allocations: 0.8685 MB / 442 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2575, allocations: 0 / 442 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.2579, allocations: 99.83 kB / 442 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.2579, allocations: 7.938 kB / 442.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.2579, allocations: 12 kB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2579, allocations: 0 / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2579, allocations: 4 kB / 442.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.2588, allocations: 0.6356 MB / 442.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.2588, allocations: 31.78 kB / 442.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2588, allocations: 12 kB / 442.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.259, allocations: 11.94 kB / 442.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.2591, allocations: 23.95 kB / 442.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.2591, allocations: 20 kB / 442.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.2592, allocations: 139.2 kB / 442.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2592, allocations: 0 / 442.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.2596, allocations: 80 kB / 443 MB, free: 10.25 MB / 350.1 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.001121/0.2607, allocations: 1.207 MB / 444.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004963/0.2612, allocations: 275.6 kB / 444.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2612, allocations: 0 / 444.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.2614, allocations: 151.6 kB / 444.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.262, allocations: 63.45 kB / 444.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.2662, allocations: 3.288 MB / 448 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.2664, allocations: 164.8 kB / 448.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.2665, allocations: 34.95 kB / 448.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.2667, allocations: 99.41 kB / 448.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2667, allocations: 0 / 448.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.3053, allocations: 6.826 MB / 455.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.58, allocations: 7.938 kB / 455.1 MB, free: 14.16 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.167985839769244]