Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.0009751/0.0009751, 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.001121/0.001121, 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.851/0.851, allocations: 158.6 MB / 185 MB, free: 3.055 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.13/0.13, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 3.938 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.862e-05, allocations: 2.281 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002035/0.002053, allocations: 1.746 MB / 408.7 MB, free: 400 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.003424, allocations: 1.544 MB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.003495, allocations: 4 kB / 410.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.003775, allocations: 55.62 kB / 410.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.004039, allocations: 107.3 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.004281, allocations: 139.6 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.004469, allocations: 191.3 kB / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.00451, allocations: 9.812 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.004616, allocations: 91.73 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.004726, allocations: 55.81 kB / 410.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.004746, allocations: 8 kB / 410.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.004849, allocations: 67.89 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.004905, allocations: 31.86 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.004951, allocations: 43.78 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.005153, allocations: 179.3 kB / 411.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005155, allocations: 0 / 411.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005156, allocations: 4 kB / 411.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00516, allocations: 0 / 411.2 MB, free: 13.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004443/0.005605, allocations: 389.3 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.005639, allocations: 12.03 kB / 411.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.005668, allocations: 38.69 kB / 411.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.005713, allocations: 16.84 kB / 411.6 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.005938, allocations: 189.1 kB / 411.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.005949, allocations: 384 / 411.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.00596, allocations: 4.375 kB / 411.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.006131, allocations: 160.7 kB / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.006137, allocations: 0 / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006149, allocations: 7.984 kB / 412 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.006153, allocations: 0 / 412 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.583e-05/0.006219, allocations: 31.92 kB / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.006378, allocations: 181.6 kB / 412.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.006537, allocations: 105.2 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.006591, allocations: 45.69 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.006604, allocations: 4 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.006758, allocations: 113 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.01e-07/0.006758, allocations: 0 / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000278/0.007036, allocations: 173.5 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.007087, allocations: 136.5 kB / 412.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.007365, allocations: 223.8 kB / 413 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.007377, allocations: 25.7 kB / 413 MB, free: 11.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.00742, allocations: 116.1 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.007453, allocations: 35.73 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.007489, allocations: 33.7 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.007561, allocations: 322.8 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.007613, allocations: 31.98 kB / 413.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.007691, allocations: 124.5 kB / 413.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.007794, allocations: 91.34 kB / 413.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007796, allocations: 0 / 413.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001533/0.00795, allocations: 145.5 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.007961, allocations: 4 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007965, allocations: 0 / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.007976, allocations: 4 kB / 413.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.008052, allocations: 28.55 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008058, allocations: 4 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.008109, allocations: 7.953 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.008117, allocations: 4 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 8.005e-05/0.008197, allocations: 145.8 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.008217, allocations: 23.84 kB / 414.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.00842, allocations: 166.7 kB / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008422, allocations: 0 / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008426, allocations: 0 / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008429, allocations: 3.938 kB / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.008547, allocations: 180.7 kB / 414.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008549, allocations: 0 / 414.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.008576, allocations: 15.94 kB / 414.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.008579, allocations: 3.938 kB / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.008588, allocations: 7.984 kB / 414.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.00859, allocations: 4 kB / 414.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008591, allocations: 0 / 414.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.008764, allocations: 181.8 kB / 414.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.008783, allocations: 19.84 kB / 414.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.008803, allocations: 4 kB / 414.7 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.008839, allocations: 11.98 kB / 414.7 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.008874, allocations: 11.92 kB / 414.7 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.008888, allocations: 4 kB / 414.7 MB, free: 9.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.00899, allocations: 165.5 kB / 414.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00899, allocations: 4 kB / 414.9 MB, free: 9.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.009172, allocations: 43.88 kB / 414.9 MB, free: 9.75 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000986/0.01016, allocations: 1.08 MB / 416 MB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.01033, allocations: 91.83 kB / 416.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01033, allocations: 4 kB / 416.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.886e-05/0.01039, allocations: 44.33 kB / 416.1 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.01062, allocations: 67.59 kB / 416.2 MB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.01204, allocations: 1.856 MB / 418 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.117e-05/0.0121, allocations: 102.4 kB / 418.1 MB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.01217, allocations: 33.45 kB / 418.2 MB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.01224, allocations: 48.48 kB / 418.2 MB, free: 6.305 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01224, allocations: 0 / 418.2 MB, free: 6.305 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.03205, allocations: 5.737 MB / 424 MB, free: 424 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.175, allocations: 11.73 kB / 424 MB, free: 412 kB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.248547384515405]