Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.0008757/0.0008757, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009136/0.0009136, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.846/0.846, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1357/0.1357, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.577e-05, allocations: 2.281 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001923/0.001939, allocations: 1.676 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.002797, allocations: 0.7804 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.002862, allocations: 3.938 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.003125, allocations: 39.75 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.003313, allocations: 55.7 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.0035, allocations: 83.7 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.003634, allocations: 99.62 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.003726, allocations: 16.22 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.0038, allocations: 43.84 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.003868, allocations: 35.83 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.003884, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.003956, allocations: 43.92 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.004001, allocations: 19.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.004037, allocations: 19.92 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.00419, allocations: 107.6 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004192, allocations: 3.938 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004193, allocations: 3.938 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.004197, allocations: 0 / 410 MB, free: 15.11 MB / 394.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.0003736/0.00457, allocations: 333.7 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.004603, allocations: 8.031 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.00463, allocations: 34.75 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.004662, allocations: 8.891 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.004832, allocations: 149.4 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.004843, allocations: 4.375 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.004858, allocations: 384 / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.004966, allocations: 57.98 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.004977, allocations: 4 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004986, allocations: 3.984 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.00499, allocations: 4 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.005038, allocations: 19.98 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.005304, allocations: 251.9 kB / 410.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.005412, allocations: 62.61 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.005447, allocations: 24.84 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.00546, allocations: 4 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.005565, allocations: 63.39 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.005567, allocations: 0 / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003746/0.005941, allocations: 185.3 kB / 411.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.00597, allocations: 59.39 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.006075, allocations: 174.3 kB / 411.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.006086, allocations: 25.7 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.006127, allocations: 104.1 kB / 411.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.006149, allocations: 23.8 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.006178, allocations: 25.7 kB / 411.5 MB, free: 13.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.006252, allocations: 334.7 kB / 411.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.006283, allocations: 12 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.006322, allocations: 41.7 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.006391, allocations: 61.7 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.006392, allocations: 0 / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001096/0.006502, allocations: 117.6 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.006511, allocations: 4 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.006515, allocations: 0 / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.006525, allocations: 0 / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.006588, allocations: 20.17 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.006592, allocations: 0 / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.006619, allocations: 15.91 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.006624, allocations: 0 / 412.1 MB, free: 12.71 MB / 394.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 0.0001989/0.006823, allocations: 133.8 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.006835, allocations: 11.95 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.006985, allocations: 118.4 kB / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006986, allocations: 0 / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.00699, allocations: 0 / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.006993, allocations: 0 / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.007269, allocations: 370.3 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.007272, allocations: 8.031 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.007295, allocations: 8 kB / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007297, allocations: 0 / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.007305, allocations: 4.375 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007306, allocations: 4 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.007309, allocations: 3.938 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.007442, allocations: 216.3 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.007453, allocations: 7.953 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.007467, allocations: 0 / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.007508, allocations: 0 / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.007539, allocations: 19.92 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.007553, allocations: 4 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.065e-05/0.007623, allocations: 140 kB / 413.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007623, allocations: 3.938 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.007795, allocations: 23.94 kB / 413.2 MB, free: 11.57 MB / 394.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.0009429/0.008738, allocations: 1.136 MB / 414.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.008868, allocations: 55.91 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008869, allocations: 0 / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.00891, allocations: 31.98 kB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.009128, allocations: 24.23 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.01021, allocations: 1.629 MB / 416.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.755e-05/0.01027, allocations: 85.44 kB / 416.2 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.543e-05/0.0103, allocations: 16.48 kB / 416.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.01035, allocations: 36.48 kB / 416.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01035, allocations: 0 / 416.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.02438, allocations: 4.144 MB / 420.3 MB, free: 4.168 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/6.964, allocations: 11.91 kB / 420.4 MB, free: 4.156 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.033156462945044]