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.001324/0.001324, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001401/0.001401, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.002154/0.002154, allocations: 51.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2865, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003659/0.2901, allocations: 2.308 MB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005921/0.2907, allocations: 263 kB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2909, allocations: 7.938 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.291, allocations: 47.5 kB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.2912, allocations: 99.19 kB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.2914, allocations: 55.92 kB / 433.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.2918, allocations: 322.5 kB / 434.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.292, allocations: 73.27 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.2921, allocations: 123.6 kB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.2923, allocations: 131.4 kB / 434.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.2924, allocations: 27.94 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.184e-05/0.2925, allocations: 24 kB / 434.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.2925, allocations: 55.83 kB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.2926, allocations: 127.5 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.293, allocations: 322.6 kB / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.293, allocations: 0 / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.293, allocations: 4 kB / 435 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.293, allocations: 0 / 435 MB, free: 2.676 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.0008093/0.2938, allocations: 0.4898 MB / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2939, allocations: 15.97 kB / 435.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.271e-05/0.2939, allocations: 62.72 kB / 435.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.294, allocations: 32.75 kB / 435.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.2943, allocations: 182.9 kB / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2944, allocations: 21.03 kB / 435.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.2944, allocations: 24.38 kB / 435.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.2948, allocations: 268.3 kB / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.2949, allocations: 7.938 kB / 436.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2949, allocations: 12 kB / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.2949, allocations: 8 kB / 436.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.2952, allocations: 167.9 kB / 436.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.2963, allocations: 0.6674 MB / 437 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.2967, allocations: 257.2 kB / 437.2 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2969, allocations: 113.7 kB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2969, allocations: 4 kB / 437.3 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2969, allocations: 42.5 kB / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.244e-06/0.2969, allocations: 0 / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002917/0.2998, allocations: 1.419 MB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.2999, allocations: 93.05 kB / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3001, allocations: 188.1 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.3002, allocations: 33.7 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.3003, allocations: 132.9 kB / 439.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.3004, allocations: 186.4 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.3005, allocations: 78.14 kB / 439.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3007, allocations: 342.8 kB / 439.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3009, allocations: 101 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.3011, allocations: 156.8 kB / 440.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.3015, allocations: 282.2 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3015, allocations: 0 / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005713/0.3021, allocations: 374 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3021, allocations: 4 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3021, allocations: 3.984 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3021, allocations: 4 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.3025, allocations: 103.8 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3025, allocations: 4 kB / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3027, allocations: 12 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3027, allocations: 12 kB / 440.9 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.0001619/0.3029, allocations: 157.8 kB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.3029, allocations: 31.75 kB / 441 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.303, allocations: 45.95 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.303, allocations: 4 kB / 441.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.303, allocations: 0 / 441.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.3031, allocations: 3.984 kB / 441.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.3044, allocations: 0.8649 MB / 442 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3045, allocations: 8.062 kB / 442 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.3049, allocations: 95.89 kB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.3049, allocations: 7.938 kB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3049, allocations: 7.938 kB / 442.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.3049, allocations: 8 kB / 442.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3049, allocations: 0 / 442.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/0.3058, allocations: 0.6472 MB / 442.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.3058, allocations: 23.8 kB / 442.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.3058, allocations: 11.98 kB / 442.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.306, allocations: 8 kB / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.3061, allocations: 31.95 kB / 442.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.3061, allocations: 12 kB / 442.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3062, allocations: 139.2 kB / 443 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3062, allocations: 0 / 443 MB, free: 10.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.3066, allocations: 80 kB / 443 MB, free: 10.24 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.001253/0.3079, allocations: 1.195 MB / 444.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000502/0.3084, allocations: 287.5 kB / 444.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3084, allocations: 0 / 444.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.3086, allocations: 151.8 kB / 444.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.3092, allocations: 61.48 kB / 444.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.3134, allocations: 3.276 MB / 448 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.3136, allocations: 164.8 kB / 448.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.3137, allocations: 42.94 kB / 448.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.3139, allocations: 99.41 kB / 448.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3139, allocations: 0 / 448.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/0.3608, allocations: 6.96 MB / 455.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.64, allocations: 12 kB / 455.3 MB, free: 14.02 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.20387690901407]