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.001599/0.001599, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001346/0.001346, allocations: 180.4 kB / 23.72 MB, free: 4.699 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.397/1.397, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.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 0.001563/0.001563, allocations: 51.92 kB / 370.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.285, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003709/0.2887, allocations: 2.502 MB / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005504/0.2892, allocations: 255.1 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.2893, allocations: 7.938 kB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.2895, allocations: 39.58 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2897, allocations: 99.12 kB / 425.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.2899, allocations: 63.91 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.2902, allocations: 318.5 kB / 425.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.2904, allocations: 79.56 kB / 426 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2905, allocations: 123.6 kB / 426.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.2907, allocations: 131.4 kB / 426.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.2908, allocations: 24 kB / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.457e-05/0.2908, allocations: 24 kB / 426.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.2909, allocations: 59.81 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.291, allocations: 147.3 kB / 426.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.2914, allocations: 323 kB / 426.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2914, allocations: 0 / 426.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2914, allocations: 0 / 426.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2914, allocations: 0 / 426.8 MB, free: 10.42 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.0008331/0.2922, allocations: 0.4976 MB / 427.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2922, allocations: 8.031 kB / 427.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.662e-05/0.2923, allocations: 58.73 kB / 427.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.2924, allocations: 32.75 kB / 427.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.2927, allocations: 194 kB / 427.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.2927, allocations: 25.03 kB / 427.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.2928, allocations: 32.33 kB / 427.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.2932, allocations: 256.4 kB / 427.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.2932, allocations: 3.938 kB / 427.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2932, allocations: 15.94 kB / 427.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2932, allocations: 7.984 kB / 427.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.2935, allocations: 175.9 kB / 428.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2946, allocations: 0.7061 MB / 428.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.295, allocations: 256.3 kB / 429 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.2951, allocations: 117.7 kB / 429.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2951, allocations: 4.625 kB / 429.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2952, allocations: 34.56 kB / 429.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.342e-06/0.2952, allocations: 0 / 429.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002549/0.2977, allocations: 1.43 MB / 430.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.2978, allocations: 85.05 kB / 430.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.298, allocations: 183.2 kB / 430.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.298, allocations: 37.64 kB / 430.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2981, allocations: 140.9 kB / 431 MB, free: 5.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.2982, allocations: 182.4 kB / 431.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.2983, allocations: 78.14 kB / 431.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2985, allocations: 342.8 kB / 431.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.2987, allocations: 105 kB / 431.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2989, allocations: 156.8 kB / 431.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.2993, allocations: 283.2 kB / 432.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2993, allocations: 0 / 432.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005435/0.2999, allocations: 374 kB / 432.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2999, allocations: 4 kB / 432.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2999, allocations: 4.062 kB / 432.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.2999, allocations: 4 kB / 432.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.3003, allocations: 103.8 kB / 432.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3003, allocations: 4 kB / 432.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3005, allocations: 12 kB / 432.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.3005, allocations: 12 kB / 432.7 MB, free: 4.191 MB / 334.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.0001551/0.3006, allocations: 149.8 kB / 432.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.3007, allocations: 27.8 kB / 432.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.3008, allocations: 45.95 kB / 432.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3008, allocations: 8 kB / 432.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3008, allocations: 0 / 432.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3008, allocations: 3.984 kB / 432.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.3022, allocations: 0.9105 MB / 433.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3022, allocations: 4 kB / 433.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.3026, allocations: 99.95 kB / 433.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.3026, allocations: 7.938 kB / 433.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.3026, allocations: 8 kB / 433.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3026, allocations: 0 / 433.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3026, allocations: 3.984 kB / 433.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.3034, allocations: 0.6471 MB / 434.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.3035, allocations: 27.75 kB / 434.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.3035, allocations: 8 kB / 434.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3037, allocations: 12 kB / 434.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.3037, allocations: 31.88 kB / 434.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3037, allocations: 16 kB / 434.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3039, allocations: 124.4 kB / 434.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3039, allocations: 0 / 434.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003861/0.3043, allocations: 84 kB / 434.9 MB, free: 1.895 MB / 334.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.001077/0.3053, allocations: 1.199 MB / 436.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.3058, allocations: 285.3 kB / 436.4 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3058, allocations: 0 / 436.4 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.306, allocations: 143.8 kB / 436.5 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.3066, allocations: 64.27 kB / 436.6 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.3105, allocations: 3.283 MB / 439.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.3109, allocations: 0.7805 MB / 440.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3111, allocations: 34.95 kB / 440.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.3112, allocations: 95.41 kB / 440.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3112, allocations: 0 / 440.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.3464, allocations: 6.512 MB / 447.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.57, allocations: 10.17 kB / 447.3 MB, free: 5.477 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/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: 14.11545468300028]