Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.0007914/0.0007914, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008383/0.0008383, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8589/0.8589, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2503/0.2503, allocations: 32.79 MB / 293.5 MB, free: 1.242 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.854e-05, allocations: 2.844 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002238/0.002257, allocations: 1.718 MB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003396, allocations: 0.9741 MB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.003469, allocations: 0 / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.003719, allocations: 35.83 kB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.003972, allocations: 103.4 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.004121, allocations: 75.67 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.004269, allocations: 111.6 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.004355, allocations: 8 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.004432, allocations: 55.84 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.004496, allocations: 23.89 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.004511, allocations: 4 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.004595, allocations: 51.86 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.004647, allocations: 27.84 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.00468, allocations: 15.94 kB / 442.9 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.004849, allocations: 119.6 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004851, allocations: 0 / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004852, allocations: 0 / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004856, allocations: 0 / 443 MB, free: 0.8398 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004069/0.005263, allocations: 357.5 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.005297, allocations: 8.031 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.005323, allocations: 34.69 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.005352, allocations: 8.891 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.00553, allocations: 154.2 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.005541, allocations: 8.312 kB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.005558, allocations: 4.359 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.005662, allocations: 61.98 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.00567, allocations: 0 / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.005678, allocations: 0 / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.005683, allocations: 7.984 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.005734, allocations: 19.98 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1609/0.1667, allocations: 246.4 kB / 443.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1668, allocations: 57.3 kB / 443.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.1669, allocations: 24.09 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1669, allocations: 0 / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.167, allocations: 70.25 kB / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.167, allocations: 0 / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004612/0.1675, allocations: 187 kB / 444.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1675, allocations: 55.66 kB / 444.3 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1676, allocations: 206.8 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.1677, allocations: 29.23 kB / 444.5 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.1677, allocations: 101.9 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1677, allocations: 29.95 kB / 444.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1677, allocations: 26.2 kB / 444.6 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.1678, allocations: 321.7 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.1678, allocations: 22.48 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.1678, allocations: 33.75 kB / 445 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.938e-05/0.1679, allocations: 67.92 kB / 445.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1679, allocations: 0 / 445.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001118/0.168, allocations: 111.1 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.168, allocations: 7.406 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.168, allocations: 0 / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1681, allocations: 1.531 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.1681, allocations: 17.78 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1681, allocations: 3.203 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.1682, allocations: 7.75 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1682, allocations: 9.969 kB / 445.2 MB, free: 45.52 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 (10): * Single equations (assignments): 10 * 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.695e-05/0.1682, allocations: 124.8 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1682, allocations: 17.33 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.1684, allocations: 123.8 kB / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1684, allocations: 0 / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1684, allocations: 2.906 kB / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1684, allocations: 0 / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1687, allocations: 374.2 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1687, allocations: 0 / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.1687, allocations: 15.34 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1687, allocations: 5.656 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1687, allocations: 2.344 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1687, allocations: 2.844 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1687, allocations: 0 / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.1688, allocations: 216.2 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.1688, allocations: 13.84 kB / 446.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1688, allocations: 0 / 446.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.1689, allocations: 5.984 kB / 446.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.1689, allocations: 13.58 kB / 446.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1689, allocations: 2.625 kB / 446.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.169, allocations: 149.9 kB / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.169, allocations: 3.938 kB / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.1691, allocations: 31.66 kB / 446.3 MB, free: 44.82 MB / 410.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: 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 (9): * Single equations (assignments): 7 * 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.0008678/0.17, allocations: 1.149 MB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1701, allocations: 55.41 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1701, allocations: 0 / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.1702, allocations: 33.05 kB / 447.5 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1704, allocations: 22.17 kB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.1714, allocations: 1.676 MB / 449.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.1714, allocations: 89.44 kB / 449.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.727e-05/0.1715, allocations: 27.5 kB / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1715, allocations: 39.56 kB / 449.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.1715, allocations: 2.516 kB / 449.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.1851, allocations: 4.285 MB / 453.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.923, allocations: 3.984 kB / 453.7 MB, free: 41.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.82226256094873]