Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.0008676/0.0008676, allocations: 84.34 kB / 20.67 MB, free: 3.875 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.00118/0.00118, allocations: 164.9 kB / 23.94 MB, free: 0.5977 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.8681/0.8681, allocations: 177.1 MB / 204.2 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 34.25 MB / 294.9 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 87.8 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 66.04 MB / 0.4965 GB, free: 9.762 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001997/0.2474, allocations: 1.715 MB / 0.4982 GB, free: 8.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2485, allocations: 0.9702 MB / 0.4991 GB, free: 7.711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.2486, allocations: 5.031 kB / 0.4991 GB, free: 7.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.2489, allocations: 35.98 kB / 0.4992 GB, free: 7.684 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.2492, allocations: 105 kB / 0.4993 GB, free: 7.609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.2494, allocations: 79.55 kB / 0.4994 GB, free: 7.551 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.2496, allocations: 101 kB / 0.4995 GB, free: 7.492 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2497, allocations: 15.86 kB / 0.4995 GB, free: 7.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.2497, allocations: 52.22 kB / 0.4995 GB, free: 7.449 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.2498, allocations: 34.33 kB / 0.4996 GB, free: 7.426 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2498, allocations: 3.531 kB / 0.4996 GB, free: 7.426 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.802e-05/0.2499, allocations: 40.52 kB / 0.4996 GB, free: 7.414 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.25, allocations: 22.66 kB / 0.4996 GB, free: 7.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.25, allocations: 16.84 kB / 0.4996 GB, free: 7.391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.2502, allocations: 117.2 kB / 0.4997 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2502, allocations: 5.078 kB / 0.4997 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2502, allocations: 0 / 0.4997 GB, free: 7.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2502, allocations: 0 / 0.4997 GB, free: 7.316 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003856/0.2506, allocations: 352.8 kB / 0.5001 GB, free: 6.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2506, allocations: 9.781 kB / 0.5001 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.237e-05/0.2507, allocations: 35.8 kB / 0.5001 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.2507, allocations: 9.172 kB / 0.5001 GB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.2509, allocations: 154.2 kB / 0.5003 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2509, allocations: 1.531 kB / 0.5003 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.2509, allocations: 6.75 kB / 0.5003 GB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.251, allocations: 55.11 kB / 0.5003 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.251, allocations: 1.438 kB / 0.5003 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.251, allocations: 4.125 kB / 0.5004 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.251, allocations: 1.25 kB / 0.5004 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.2511, allocations: 23.08 kB / 0.5004 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.2514, allocations: 252.7 kB / 0.5006 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2515, allocations: 53.59 kB / 0.5007 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.2515, allocations: 29.44 kB / 0.5007 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2516, allocations: 0.9375 kB / 0.5007 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.2517, allocations: 70.89 kB / 0.5008 GB, free: 6.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.2517, allocations: 0 / 0.5008 GB, free: 6.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000455/0.2521, allocations: 188.8 kB / 0.5009 GB, free: 6.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.2522, allocations: 57.61 kB / 0.501 GB, free: 6.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2523, allocations: 203.3 kB / 0.5012 GB, free: 5.977 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.2523, allocations: 26.95 kB / 0.5012 GB, free: 5.945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2523, allocations: 104.8 kB / 0.5013 GB, free: 5.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.2524, allocations: 23.39 kB / 0.5013 GB, free: 5.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.2524, allocations: 28.64 kB / 0.5014 GB, free: 5.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.2524, allocations: 323.6 kB / 0.5017 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.2525, allocations: 27.5 kB / 0.5017 GB, free: 5.461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.014e-05/0.2525, allocations: 39.77 kB / 0.5017 GB, free: 5.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.354e-05/0.2526, allocations: 69.11 kB / 0.5018 GB, free: 5.383 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2526, allocations: 0 / 0.5018 GB, free: 5.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001129/0.2527, allocations: 104.9 kB / 0.5019 GB, free: 5.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2527, allocations: 5.812 kB / 0.5019 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2527, allocations: 4.031 kB / 0.5019 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2527, allocations: 5.281 kB / 0.5019 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.2528, allocations: 17.48 kB / 0.5019 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2528, allocations: 0 / 0.5019 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.2528, allocations: 6.781 kB / 0.5019 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2528, allocations: 2.781 kB / 0.5019 GB, free: 5.301 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.921e-05/0.2529, allocations: 134 kB / 0.5021 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.2529, allocations: 13.5 kB / 0.5021 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.2531, allocations: 123.8 kB / 0.5022 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2531, allocations: 5.094 kB / 0.5022 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2531, allocations: 0 / 0.5022 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2531, allocations: 1.406 kB / 0.5022 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.2534, allocations: 372.7 kB / 0.5026 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2534, allocations: 1.312 kB / 0.5026 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.2534, allocations: 12.73 kB / 0.5026 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2534, allocations: 1.219 kB / 0.5026 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2534, allocations: 1.406 kB / 0.5026 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2534, allocations: 5.094 kB / 0.5026 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2534, allocations: 240 / 0.5026 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2535, allocations: 220.1 kB / 0.5028 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.2535, allocations: 8.078 kB / 0.5028 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.2536, allocations: 10.17 kB / 0.5028 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.2536, allocations: 2.188 kB / 0.5028 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.2536, allocations: 10.55 kB / 0.5028 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.2537, allocations: 7.688 kB / 0.5028 GB, free: 4.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.944e-05/0.2537, allocations: 150.9 kB / 0.503 GB, free: 4.402 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2537, allocations: 0 / 0.503 GB, free: 4.402 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000182/0.2539, allocations: 26.12 kB / 0.503 GB, free: 4.395 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009596/0.2549, allocations: 1.128 MB / 0.5041 GB, free: 3.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.255, allocations: 70.02 kB / 0.5042 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.255, allocations: 1.312 kB / 0.5042 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.2551, allocations: 33.77 kB / 0.5042 GB, free: 3.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2553, allocations: 33.88 kB / 0.5042 GB, free: 3.457 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2564, allocations: 1.669 MB / 0.5059 GB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.067e-05/0.2564, allocations: 92.27 kB / 0.506 GB, free: 1.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.311e-05/0.2565, allocations: 22.36 kB / 0.506 GB, free: 1.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.2565, allocations: 40.11 kB / 0.506 GB, free: 1.879 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2565, allocations: 3.938 kB / 0.506 GB, free: 1.875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.2744, allocations: 4.256 MB / 0.5102 GB, free: 15.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.194, allocations: 9.344 kB / 0.5102 GB, free: 15.24 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.251349898986518]