Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.000837/0.000837, allocations: 80.53 kB / 19.92 MB, free: 4.621 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.0009014/0.0009014, allocations: 169.9 kB / 23.21 MB, free: 1.34 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.9833/0.9833, allocations: 158.6 MB / 185 MB, free: 3.023 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.1443/0.1443, allocations: 32.38 MB / 269.6 MB, free: 14.96 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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.134e-05, allocations: 10.02 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002126/0.002148, allocations: 1.637 MB / 408.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000862/0.00301, allocations: 0.7609 MB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.003074, allocations: 0 / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.003361, allocations: 71.72 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.003558, allocations: 67.62 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.003734, allocations: 83.69 kB / 409.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.003876, allocations: 95.7 kB / 409.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.003914, allocations: 4 kB / 409.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.003995, allocations: 59.75 kB / 409.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.004079, allocations: 43.88 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.004096, allocations: 4 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.004164, allocations: 31.94 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.00421, allocations: 23.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.004244, allocations: 19.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.004384, allocations: 91.7 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004386, allocations: 0 / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004387, allocations: 3.938 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.00439, allocations: 0 / 409.9 MB, free: 15.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003835/0.004774, allocations: 333.7 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.004811, allocations: 12.03 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.004836, allocations: 30.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.004865, allocations: 12.84 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.005031, allocations: 154.2 kB / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.005042, allocations: 4.375 kB / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.00505, allocations: 384 / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.00516, allocations: 53.98 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.005167, allocations: 0 / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.005174, allocations: 0 / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005178, allocations: 0 / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.005224, allocations: 15.98 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.005358, allocations: 148.8 kB / 410.7 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.005461, allocations: 54.55 kB / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.005492, allocations: 24.84 kB / 410.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.005504, allocations: 0 / 410.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.005608, allocations: 71.33 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.005609, allocations: 0 / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001922/0.005801, allocations: 101.6 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.00583, allocations: 51.41 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.005948, allocations: 194.2 kB / 411.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.005961, allocations: 29.7 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.005997, allocations: 100.1 kB / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.006023, allocations: 19.84 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.006058, allocations: 17.72 kB / 411.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.006138, allocations: 326.8 kB / 411.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.006167, allocations: 15.98 kB / 411.6 MB, free: 13.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.006202, allocations: 29.7 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.179e-05/0.006263, allocations: 49.64 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006266, allocations: 3.938 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.123e-05/0.006357, allocations: 85.53 kB / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.006367, allocations: 8.031 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.006373, allocations: 3.984 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.006382, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.006438, allocations: 23.92 kB / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006443, allocations: 0 / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.006469, allocations: 0 / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.006474, allocations: 4 kB / 411.9 MB, free: 12.99 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 (7): * Single equations (assignments): 7 * 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.51e-05/0.006539, allocations: 121.8 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.00655, allocations: 11.89 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.006673, allocations: 98.08 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006676, allocations: 7.984 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.00668, allocations: 4 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006684, allocations: 3.938 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.2e-05/0.006776, allocations: 152.7 kB / 412.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006777, allocations: 384 / 412.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.006791, allocations: 8 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006793, allocations: 3.938 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.006801, allocations: 4 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006802, allocations: 4 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006803, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.565e-05/0.006898, allocations: 117 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.006912, allocations: 11.89 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.006926, allocations: 0 / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.235e-05/0.006948, allocations: 4 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.006976, allocations: 3.984 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.006988, allocations: 8 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.295e-05/0.007061, allocations: 144.1 kB / 412.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007061, allocations: 3.938 kB / 412.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.007209, allocations: 19.94 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008817/0.008091, allocations: 0.99 MB / 413.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.008198, allocations: 47.91 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008199, allocations: 0 / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.008234, allocations: 16 kB / 413.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.008403, allocations: 23.97 kB / 413.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.00942, allocations: 1.494 MB / 415.1 MB, free: 9.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/0.009478, allocations: 95.31 kB / 415.2 MB, free: 9.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.385e-05/0.009512, allocations: 12.48 kB / 415.2 MB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.009559, allocations: 24.5 kB / 415.3 MB, free: 9.391 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.00956, allocations: 4 kB / 415.3 MB, free: 9.387 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.02543, allocations: 3.898 MB / 419.2 MB, free: 5.359 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.001, allocations: 3.938 kB / 419.2 MB, free: 5.355 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.30410054512322]