Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.0008149/0.0008149, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.0008344/0.0008344, allocations: 160.9 kB / 23.95 MB, free: 0.6055 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.8972/0.8972, allocations: 177 MB / 204.1 MB, free: 5.75 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.23/0.23, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.632e-05, allocations: 2.281 kB / 442.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.213/0.213, allocations: 1.708 MB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2141, allocations: 0.9717 MB / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.2142, allocations: 0 / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.2145, allocations: 40.77 kB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.2147, allocations: 100.4 kB / 445.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.2149, allocations: 74.48 kB / 445.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.215, allocations: 109.7 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.2151, allocations: 6.844 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.2152, allocations: 58.62 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.2153, allocations: 28.84 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2153, allocations: 6 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.2153, allocations: 38.67 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.2154, allocations: 28.12 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.2154, allocations: 16.88 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2156, allocations: 110 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2156, allocations: 3.234 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2156, allocations: 0 / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2156, allocations: 1.125 kB / 445.5 MB, free: 42.84 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.0003612/0.216, allocations: 339 kB / 445.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.216, allocations: 8.719 kB / 445.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.263e-05/0.216, allocations: 35.31 kB / 445.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.216, allocations: 11.09 kB / 445.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.2162, allocations: 147.1 kB / 446.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.2162, allocations: 3.562 kB / 446.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2162, allocations: 0.875 kB / 446.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.2163, allocations: 60.64 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2164, allocations: 192 / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.2164, allocations: 9.406 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2164, allocations: 0 / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.2164, allocations: 29.31 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.2167, allocations: 248 kB / 446.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.2168, allocations: 62.67 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.2168, allocations: 24.2 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2168, allocations: 3 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.2169, allocations: 70.98 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2169, allocations: 0 / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003726/0.2173, allocations: 179.5 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.2173, allocations: 54.38 kB / 446.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.2174, allocations: 172.1 kB / 447 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.2174, allocations: 32.2 kB / 447 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.2174, allocations: 103.6 kB / 447.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2175, allocations: 29.92 kB / 447.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.2175, allocations: 18.88 kB / 447.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.2175, allocations: 321.7 kB / 447.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.2176, allocations: 23.42 kB / 447.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.2176, allocations: 41.38 kB / 447.5 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.2177, allocations: 66.12 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2177, allocations: 0.8438 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001131/0.2178, allocations: 104.6 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2178, allocations: 5.438 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2178, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2178, allocations: 2.688 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.2179, allocations: 20.44 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2179, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.2179, allocations: 9.188 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2179, allocations: 2.75 kB / 447.7 MB, free: 41.22 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.859e-05/0.218, allocations: 133 kB / 447.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.218, allocations: 10.73 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.2181, allocations: 122.4 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2181, allocations: 0 / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2182, allocations: 0 / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2182, allocations: 0 / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.2184, allocations: 372.6 kB / 448.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2184, allocations: 2.594 kB / 448.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.2184, allocations: 10.97 kB / 448.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2184, allocations: 3.938 kB / 448.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2184, allocations: 11.38 kB / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2184, allocations: 0 / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2184, allocations: 3.938 kB / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.2186, allocations: 211.4 kB / 448.6 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.2186, allocations: 15.97 kB / 448.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2186, allocations: 2.75 kB / 448.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.2186, allocations: 7.328 kB / 448.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2187, allocations: 12.27 kB / 448.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.2187, allocations: 2.531 kB / 448.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.2187, allocations: 137.8 kB / 448.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2187, allocations: 4 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.2189, allocations: 24.59 kB / 448.8 MB, free: 40.46 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.0009193/0.2198, allocations: 1.12 MB / 449.9 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.2199, allocations: 63.05 kB / 450 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2199, allocations: 3.938 kB / 450 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.22, allocations: 36.52 kB / 450 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.2202, allocations: 36.56 kB / 450 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.2211, allocations: 1.623 MB / 451.7 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.2211, allocations: 90.39 kB / 451.8 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.2212, allocations: 13.27 kB / 451.8 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.2212, allocations: 40.48 kB / 451.8 MB, free: 38.17 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2212, allocations: 0 / 451.8 MB, free: 38.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.2377, allocations: 4.163 MB / 456 MB, free: 36.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/7.116, allocations: 17.31 kB / 456 MB, free: 36.76 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.225114105269313]