Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.0008767/0.0008767, allocations: 79.53 kB / 20.01 MB, free: 4.512 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.0009169/0.0009169, allocations: 173.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.8773/0.8773, allocations: 158.6 MB / 185.1 MB, free: 3.012 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.38 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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 407.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.398e-05, allocations: 6.078 kB / 407.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003252/0.003276, allocations: 1.884 MB / 409 MB, free: 176 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.004684, allocations: 0.8153 MB / 409.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.004823, allocations: 4 kB / 409.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.005406, allocations: 43.64 kB / 409.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.005684, allocations: 63.56 kB / 409.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.006028, allocations: 111.7 kB / 410 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.006292, allocations: 139.5 kB / 410.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.006446, allocations: 13.69 kB / 410.2 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.006577, allocations: 83.73 kB / 410.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.006676, allocations: 35.83 kB / 410.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.0067, allocations: 8 kB / 410.3 MB, free: 14.85 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.903e-05/0.006789, allocations: 47.92 kB / 410.4 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.006845, allocations: 19.92 kB / 410.4 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.006909, allocations: 35.84 kB / 410.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.007212, allocations: 151.4 kB / 410.6 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.007217, allocations: 4 kB / 410.6 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.007219, allocations: 0 / 410.6 MB, free: 14.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.007225, allocations: 4 kB / 410.6 MB, free: 14.59 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006805/0.007906, allocations: 395.1 kB / 411 MB, free: 14.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.007961, allocations: 12.03 kB / 411 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.008003, allocations: 38.73 kB / 411 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.008057, allocations: 16.84 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.008364, allocations: 169.5 kB / 411.2 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.008381, allocations: 12.38 kB / 411.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.008406, allocations: 4.375 kB / 411.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.008672, allocations: 138.2 kB / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.008686, allocations: 0 / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.0087, allocations: 0 / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.008707, allocations: 4 kB / 411.4 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.008846, allocations: 55.89 kB / 411.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.009504, allocations: 476 kB / 411.9 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.009854, allocations: 94.59 kB / 412 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.009943, allocations: 36.83 kB / 412 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.009959, allocations: 0 / 412 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.01018, allocations: 113 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.01019, allocations: 0 / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004508/0.01064, allocations: 149.5 kB / 412.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.01069, allocations: 59.41 kB / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.01091, allocations: 191.5 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.01093, allocations: 29.7 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.01102, allocations: 116 kB / 412.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.01105, allocations: 23.81 kB / 412.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.0111, allocations: 33.7 kB / 412.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01121, allocations: 326.8 kB / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.01128, allocations: 23.98 kB / 413 MB, free: 11.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.01137, allocations: 64.27 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.01153, allocations: 112.1 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01153, allocations: 0 / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002458/0.01178, allocations: 137.4 kB / 413.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.0118, allocations: 4 kB / 413.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.0118, allocations: 4.125 kB / 413.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01181, allocations: 4 kB / 413.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.0119, allocations: 19.98 kB / 413.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01191, allocations: 7.938 kB / 413.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.01197, allocations: 23.81 kB / 413.4 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.01198, allocations: 4 kB / 413.4 MB, free: 11.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 9.573e-05/0.01207, allocations: 125.8 kB / 413.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.0121, allocations: 11.91 kB / 413.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.01236, allocations: 147.4 kB / 413.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01236, allocations: 0 / 413.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.01237, allocations: 0 / 413.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.01237, allocations: 3.938 kB / 413.7 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.01254, allocations: 172.7 kB / 413.9 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01254, allocations: 0 / 413.9 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.01262, allocations: 15.98 kB / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.01262, allocations: 0 / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01263, allocations: 4 kB / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01263, allocations: 3.938 kB / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01264, allocations: 0 / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.01297, allocations: 196.8 kB / 414.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.013, allocations: 19.88 kB / 414.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01302, allocations: 4 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.01307, allocations: 11.92 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.01312, allocations: 7.984 kB / 414.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.01314, allocations: 7.938 kB / 414.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.01326, allocations: 145.1 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01326, allocations: 0 / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.01356, allocations: 24 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001612/0.01518, allocations: 1.065 MB / 415.4 MB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01541, allocations: 79.89 kB / 415.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01541, allocations: 0 / 415.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.0155, allocations: 35.86 kB / 415.5 MB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.01582, allocations: 56.14 kB / 415.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.01784, allocations: 1.751 MB / 417.3 MB, free: 7.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.01795, allocations: 106.8 kB / 417.4 MB, free: 7.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.01805, allocations: 13.14 kB / 417.4 MB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/0.01814, allocations: 40.48 kB / 417.4 MB, free: 7.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.01814, allocations: 0 / 417.4 MB, free: 7.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.0394, allocations: 4.635 MB / 422.1 MB, free: 2.484 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.965, allocations: 11.83 kB / 422.1 MB, free: 2.473 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.032332088798285]