Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.0009116/0.0009116, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.001044/0.001044, allocations: 169.9 kB / 23.32 MB, free: 1.207 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.8846/0.8846, allocations: 158.6 MB / 185.1 MB, free: 2.973 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.1422/0.1422, allocations: 32.37 MB / 269.7 MB, free: 14.91 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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.81e-07/8.81e-07, allocations: 0 / 407.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.254e-05, allocations: 6.078 kB / 407.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001985/0.001998, allocations: 1.688 MB / 408.8 MB, free: 364 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.002847, allocations: 0.7766 MB / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.002908, allocations: 0 / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.003161, allocations: 47.7 kB / 409.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.003334, allocations: 63.62 kB / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.003503, allocations: 83.7 kB / 409.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.003633, allocations: 103.6 kB / 409.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.003708, allocations: 8.219 kB / 409.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.003776, allocations: 43.91 kB / 409.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.003836, allocations: 23.91 kB / 410 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.003852, allocations: 7.984 kB / 410 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.003921, allocations: 51.86 kB / 410 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.003965, allocations: 27.86 kB / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.003998, allocations: 15.94 kB / 410.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004148, allocations: 111.6 kB / 410.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00415, allocations: 0 / 410.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004151, allocations: 0 / 410.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.004155, allocations: 0 / 410.2 MB, free: 14.99 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.0003947/0.004549, allocations: 345.6 kB / 410.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.004584, allocations: 8.031 kB / 410.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.004609, allocations: 34.75 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.004639, allocations: 20.88 kB / 410.6 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.004804, allocations: 150.2 kB / 410.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.004815, allocations: 4.312 kB / 410.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.004835, allocations: 8.375 kB / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.004938, allocations: 53.98 kB / 410.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.004949, allocations: 4 kB / 410.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.004957, allocations: 0 / 410.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004961, allocations: 0 / 410.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.005008, allocations: 19.98 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.00529, allocations: 256 kB / 411.1 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.005403, allocations: 66.59 kB / 411.1 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.005436, allocations: 24.84 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.00545, allocations: 8 kB / 411.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.684e-05/0.005547, allocations: 59.39 kB / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.005548, allocations: 0 / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003705/0.005918, allocations: 189.3 kB / 411.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.005946, allocations: 55.41 kB / 411.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.006065, allocations: 199.3 kB / 411.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.006075, allocations: 29.7 kB / 411.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.006117, allocations: 104.1 kB / 411.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.00614, allocations: 27.78 kB / 411.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.006167, allocations: 21.72 kB / 411.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.006256, allocations: 330.8 kB / 412.1 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.0063, allocations: 23.92 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.006343, allocations: 37.7 kB / 412.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.85e-05/0.006412, allocations: 57.7 kB / 412.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.006413, allocations: 0 / 412.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001112/0.006524, allocations: 113.5 kB / 412.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.006536, allocations: 11.98 kB / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.00654, allocations: 4.094 kB / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.00655, allocations: 0 / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.006605, allocations: 12 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.00661, allocations: 7.984 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.006636, allocations: 3.984 kB / 412.4 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006641, allocations: 4 kB / 412.4 MB, free: 12.54 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 6.253e-05/0.006704, allocations: 129.7 kB / 412.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.006717, allocations: 15.98 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.00686, allocations: 123 kB / 412.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.006862, allocations: 0 / 412.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.006865, allocations: 0 / 412.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006868, allocations: 4 kB / 412.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.007137, allocations: 374.3 kB / 413 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007139, allocations: 4 kB / 413.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.007166, allocations: 8 kB / 413.1 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.007168, allocations: 0 / 413.1 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.007176, allocations: 4 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.007177, allocations: 4.406 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.007179, allocations: 3.938 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.007308, allocations: 212.3 kB / 413.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.007319, allocations: 15.91 kB / 413.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.007333, allocations: 4 kB / 413.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.00737, allocations: 4 kB / 413.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.007399, allocations: 11.92 kB / 413.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.007409, allocations: 0 / 413.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.539e-05/0.007484, allocations: 156.9 kB / 413.5 MB, free: 11.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007485, allocations: 0 / 413.5 MB, free: 11.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.007654, allocations: 31.92 kB / 413.5 MB, free: 11.37 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.000882/0.008536, allocations: 1.129 MB / 414.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.008652, allocations: 59.97 kB / 414.7 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.008654, allocations: 4 kB / 414.7 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.008695, allocations: 27.92 kB / 414.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.008908, allocations: 36.22 kB / 414.8 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.01023, allocations: 1.677 MB / 416.4 MB, free: 8.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.025e-05/0.0103, allocations: 96.44 kB / 416.5 MB, free: 8.227 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.01034, allocations: 12.48 kB / 416.5 MB, free: 8.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.01039, allocations: 36.48 kB / 416.6 MB, free: 8.18 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.01039, allocations: 0 / 416.6 MB, free: 8.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.02681, allocations: 4.244 MB / 420.8 MB, free: 3.793 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/6.977, allocations: 15.84 kB / 420.8 MB, free: 3.777 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.148771067149937]