Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.000809/0.000809, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008209/0.0008209, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8626/0.8626, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 4 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.852e-05, allocations: 2.281 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002082/0.0021, allocations: 1.673 MB / 441.3 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003117, allocations: 0.9703 MB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.003185, allocations: 3.938 kB / 442.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.00345, allocations: 43.77 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.003718, allocations: 107.5 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.003861, allocations: 79.59 kB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.004003, allocations: 95.7 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.004043, allocations: 4.234 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.868e-05/0.004132, allocations: 59.75 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.004204, allocations: 23.92 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.004367, allocations: 4 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.004436, allocations: 31.92 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.004491, allocations: 35.84 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.004526, allocations: 15.94 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.004708, allocations: 123.5 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004711, allocations: 0 / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.004712, allocations: 0 / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.004716, allocations: 0 / 442.9 MB, free: 0.8828 MB / 410.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.0004104/0.005127, allocations: 373.3 kB / 443.3 MB, free: 500 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005164, allocations: 8.031 kB / 443.3 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.005193, allocations: 34.75 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.005224, allocations: 8.891 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.005425, allocations: 158.5 kB / 443.5 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.005436, allocations: 384 / 443.5 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.005445, allocations: 8.375 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.00555, allocations: 53.98 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.005557, allocations: 3.938 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.005564, allocations: 0 / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.005568, allocations: 0 / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.005618, allocations: 23.92 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1506/0.1562, allocations: 155.1 kB / 443.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1564, allocations: 50.22 kB / 443.8 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.1564, allocations: 20.53 kB / 443.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1565, allocations: 3.062 kB / 443.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.1566, allocations: 68.78 kB / 443.9 MB, free: 46.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.834e-06/0.1566, allocations: 0 / 443.9 MB, free: 46.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.00021/0.1568, allocations: 108.2 kB / 444 MB, free: 46.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.1568, allocations: 52.16 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.157, allocations: 275.5 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.157, allocations: 25.7 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.157, allocations: 117.9 kB / 444.4 MB, free: 46.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.157, allocations: 20.73 kB / 444.5 MB, free: 46.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.1571, allocations: 18.75 kB / 444.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.1571, allocations: 330.2 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.1571, allocations: 21.44 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.1572, allocations: 31.64 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.1572, allocations: 51.33 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1572, allocations: 0 / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.111e-05/0.1573, allocations: 86.45 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1573, allocations: 5.344 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1573, allocations: 0.5625 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1573, allocations: 3.328 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.1574, allocations: 10.38 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1574, allocations: 6.281 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.1574, allocations: 9.094 kB / 445 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1574, allocations: 3.812 kB / 445 MB, free: 45.74 MB / 410.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 5.925e-05/0.1575, allocations: 135.2 kB / 445.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.1575, allocations: 16.19 kB / 445.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.1576, allocations: 101.1 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1576, allocations: 6.312 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1576, allocations: 0 / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1576, allocations: 3.938 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.554e-05/0.1577, allocations: 170.1 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1577, allocations: 0 / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.1577, allocations: 5.594 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1577, allocations: 2.344 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-06/0.1577, allocations: 0 / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1577, allocations: 1.062 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1577, allocations: 4.156 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.177e-05/0.1578, allocations: 120 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.1578, allocations: 15.09 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1578, allocations: 6.531 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.1579, allocations: 6.406 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.1579, allocations: 10.7 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1579, allocations: 6.594 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.073e-05/0.158, allocations: 209.1 kB / 445.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.158, allocations: 0 / 445.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.1581, allocations: 20.78 kB / 445.8 MB, free: 45.27 MB / 410.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.000737/0.1589, allocations: 0.9817 MB / 446.8 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.159, allocations: 48.62 kB / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.159, allocations: 0 / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.159, allocations: 18.7 kB / 446.9 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.1592, allocations: 34.2 kB / 446.9 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/0.1601, allocations: 1.689 MB / 448.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.1601, allocations: 112.8 kB / 448.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.1601, allocations: 22.47 kB / 448.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.1602, allocations: 41.56 kB / 448.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1602, allocations: 0 / 448.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.1743, allocations: 4.324 MB / 453.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.949, allocations: 6.844 kB / 453.1 MB, free: 41.78 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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: 8.797508514486253]