Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009001/0.0009001, allocations: 75.7 kB / 20.01 MB, free: 4.504 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.001343/0.001343, allocations: 169.9 kB / 23.32 MB, free: 1.203 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.8452/0.8452, 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.1323/0.1323, allocations: 32.37 MB / 269.7 MB, free: 14.93 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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 407.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.725e-05, allocations: 5.938 kB / 407.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002268/0.002285, allocations: 1.652 MB / 408.8 MB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.003135, allocations: 0.7609 MB / 409.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.003196, allocations: 0 / 409.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.003475, allocations: 59.75 kB / 409.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.003648, allocations: 55.75 kB / 409.7 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.003802, allocations: 75.72 kB / 409.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.003933, allocations: 99.61 kB / 409.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.003968, allocations: 11.94 kB / 409.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.004042, allocations: 47.84 kB / 409.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.004111, allocations: 31.91 kB / 409.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.00413, allocations: 4 kB / 409.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.04e-05/0.00419, allocations: 27.92 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.004244, allocations: 31.86 kB / 410 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.004283, allocations: 23.92 kB / 410 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.004444, allocations: 111.6 kB / 410.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004447, allocations: 3.984 kB / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004448, allocations: 0 / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.004453, allocations: 0 / 410.1 MB, free: 15.04 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.0004065/0.004859, allocations: 353.5 kB / 410.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.004894, allocations: 12.03 kB / 410.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/0.004922, allocations: 34.75 kB / 410.5 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.004952, allocations: 16.84 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.005127, allocations: 161.2 kB / 410.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.005139, allocations: 384 / 410.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.00515, allocations: 4.375 kB / 410.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.005255, allocations: 49.98 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005263, allocations: 4 kB / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.00527, allocations: 0 / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.005275, allocations: 0 / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.093e-05/0.005315, allocations: 15.98 kB / 410.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.005458, allocations: 172.7 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.005562, allocations: 50.56 kB / 411 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.005594, allocations: 20.84 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.005606, allocations: 0 / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.00572, allocations: 71.33 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.005721, allocations: 3.984 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001985/0.00592, allocations: 109.5 kB / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.005951, allocations: 51.41 kB / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.006113, allocations: 267.5 kB / 411.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.006219, allocations: 29.7 kB / 411.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.006264, allocations: 112.1 kB / 411.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.006287, allocations: 7.953 kB / 411.6 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.006314, allocations: 21.7 kB / 411.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.006391, allocations: 326.8 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.006421, allocations: 15.94 kB / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.006457, allocations: 29.7 kB / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.821e-05/0.006515, allocations: 45.7 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006517, allocations: 7.938 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.442e-05/0.006611, allocations: 89.52 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.006623, allocations: 4 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006627, allocations: 0 / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.006641, allocations: 4 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.006694, allocations: 15.94 kB / 412.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.006699, allocations: 0 / 412.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.006731, allocations: 11.94 kB / 412.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.006736, allocations: 0 / 412.2 MB, free: 12.76 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 7.004e-05/0.006806, allocations: 137.9 kB / 412.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.00682, allocations: 19.84 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.006948, allocations: 94.81 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.00695, allocations: 0 / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.006954, allocations: 4 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006957, allocations: 0 / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.067e-05/0.007048, allocations: 164.7 kB / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007049, allocations: 0 / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.007063, allocations: 8.312 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007065, allocations: 7.938 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.007071, allocations: 4 kB / 412.6 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.007073, allocations: 4 kB / 412.6 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007074, allocations: 0 / 412.6 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.773e-05/0.007171, allocations: 117 kB / 412.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.007186, allocations: 15.84 kB / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.007198, allocations: 0 / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.007219, allocations: 11.98 kB / 412.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.007247, allocations: 0 / 412.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.007258, allocations: 4 kB / 412.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.007365, allocations: 203.3 kB / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007365, allocations: 0 / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.007509, allocations: 20 kB / 413 MB, free: 11.88 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.0008452/0.008354, allocations: 0.9957 MB / 414 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.008468, allocations: 43.91 kB / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008469, allocations: 0 / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.008504, allocations: 23.98 kB / 414.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.008687, allocations: 23.77 kB / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.00988, allocations: 1.678 MB / 415.8 MB, free: 9.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.478e-05/0.009945, allocations: 100.8 kB / 415.9 MB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.823e-05/0.009983, allocations: 8.5 kB / 415.9 MB, free: 8.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.01003, allocations: 36.48 kB / 415.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01004, allocations: 0 / 415.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.02488, allocations: 4.213 MB / 420.1 MB, free: 4.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.047, allocations: 11.98 kB / 420.1 MB, free: 4.504 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_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_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.097317702136934]