Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.0009909/0.0009909, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0009338/0.0009338, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.904/0.904, allocations: 177 MB / 204.1 MB, free: 5.758 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.2977/0.2977, allocations: 34.25 MB / 294.8 MB, free: 0.6758 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.701e-05, allocations: 5.094 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.1992/0.1992, allocations: 1.712 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2003, allocations: 0.9791 MB / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.2004, allocations: 0 / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.2008, allocations: 48.66 kB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.2011, allocations: 101.2 kB / 445.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.2012, allocations: 84.78 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.2014, allocations: 114.4 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.2015, allocations: 6.844 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.2016, allocations: 56.53 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.2016, allocations: 29.48 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2016, allocations: 2.562 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.2017, allocations: 39.16 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.2018, allocations: 34.17 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.2018, allocations: 25.41 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.202, allocations: 138 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.202, allocations: 0 / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.202, allocations: 0 / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.202, allocations: 0 / 445.6 MB, free: 42.82 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.000402/0.2024, allocations: 383.2 kB / 446 MB, free: 42.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2024, allocations: 9.531 kB / 446 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.42e-05/0.2025, allocations: 33.98 kB / 446 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.2025, allocations: 18.56 kB / 446 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2027, allocations: 169.8 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2027, allocations: 384 / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2027, allocations: 6.438 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.2028, allocations: 51.75 kB / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2029, allocations: 192 / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2029, allocations: 10.62 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2029, allocations: 0 / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.2029, allocations: 18.27 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.2032, allocations: 269.2 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2033, allocations: 57.27 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.2033, allocations: 28.23 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.2033, allocations: 0 / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.2035, allocations: 71.72 kB / 446.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2035, allocations: 3.938 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004083/0.2039, allocations: 190.6 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2039, allocations: 51.41 kB / 446.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2041, allocations: 286.5 kB / 447.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.2041, allocations: 33.17 kB / 447.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.2041, allocations: 115.9 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.2041, allocations: 27.5 kB / 447.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.2042, allocations: 25.69 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.545e-05/0.2042, allocations: 325.8 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.2042, allocations: 22.7 kB / 447.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.2043, allocations: 35.81 kB / 447.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.2043, allocations: 63.7 kB / 447.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2043, allocations: 8.078 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001191/0.2045, allocations: 111.6 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2045, allocations: 5.562 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2045, allocations: 0 / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2045, allocations: 6.688 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.2046, allocations: 14.59 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2046, allocations: 5.969 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.2046, allocations: 6.656 kB / 448 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.2046, allocations: 2.75 kB / 448 MB, free: 41.15 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 6.876e-05/0.2047, allocations: 143.7 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.2047, allocations: 20.3 kB / 448.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.2049, allocations: 126.7 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2049, allocations: 5.656 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.2049, allocations: 0 / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2049, allocations: 3.094 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.2052, allocations: 384.7 kB / 448.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2052, allocations: 0 / 448.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.2052, allocations: 14.47 kB / 448.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2052, allocations: 4.031 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2052, allocations: 5.656 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2052, allocations: 0 / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2052, allocations: 0 / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.2053, allocations: 218.6 kB / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.2054, allocations: 17.73 kB / 448.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.2054, allocations: 10.09 kB / 449 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.2054, allocations: 0 / 449 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.2055, allocations: 13.25 kB / 449 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2055, allocations: 6.719 kB / 449 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.2056, allocations: 219.4 kB / 449.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2056, allocations: 4 kB / 449.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.2059, allocations: 31.64 kB / 449.2 MB, free: 40.3 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.001121/0.207, allocations: 1.131 MB / 450.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.2071, allocations: 56.69 kB / 450.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2072, allocations: 0 / 450.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.2072, allocations: 31.31 kB / 450.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.2075, allocations: 25.73 kB / 450.5 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2086, allocations: 1.886 MB / 452.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.2087, allocations: 111.7 kB / 452.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.872e-05/0.2087, allocations: 14.56 kB / 452.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.2088, allocations: 51.86 kB / 452.5 MB, free: 37.94 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2088, allocations: 0 / 452.5 MB, free: 37.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.2248, allocations: 4.669 MB / 457.2 MB, free: 36.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.335, allocations: 7.078 kB / 457.2 MB, free: 36.47 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.523909179493785]