Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.00131/0.00131, 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.001064/0.001064, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9086/0.9086, 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.2418/0.2418, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.189e-05, allocations: 3.969 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002641/0.002663, allocations: 1.732 MB / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003772, allocations: 0.9801 MB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.003848, allocations: 3.938 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.004111, allocations: 43.81 kB / 442.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.004413, allocations: 107.4 kB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.004613, allocations: 79.61 kB / 442.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.004788, allocations: 139.5 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.004878, allocations: 4 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.088e-05/0.004969, allocations: 71.81 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.791e-05/0.005057, allocations: 47.88 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.005073, allocations: 8 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.005169, allocations: 59.86 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.005227, allocations: 35.89 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.005268, allocations: 23.88 kB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.005461, allocations: 155.5 kB / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005464, allocations: 0 / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005465, allocations: 0 / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005469, allocations: 0 / 443.2 MB, free: 0.6562 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004286/0.005898, allocations: 365.3 kB / 443.5 MB, free: 276 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.005934, allocations: 8.031 kB / 443.5 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.005963, allocations: 42.73 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.005997, allocations: 16.84 kB / 443.6 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.006194, allocations: 165.5 kB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.006207, allocations: 4.375 kB / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.006225, allocations: 384 / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1583/0.1645, allocations: 79.47 kB / 443.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1645, allocations: 0.5625 kB / 443.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1645, allocations: 0.875 kB / 443.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1645, allocations: 0 / 443.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.1646, allocations: 54.73 kB / 443.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.1649, allocations: 287.3 kB / 444.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1652, allocations: 87.58 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/0.1652, allocations: 30.83 kB / 444.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.1652, allocations: 4.344 kB / 444.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.1653, allocations: 84.56 kB / 444.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1653, allocations: 0.7188 kB / 444.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005862/0.1659, allocations: 324.3 kB / 444.7 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.1659, allocations: 62.56 kB / 444.7 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.166, allocations: 209.6 kB / 444.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.1661, allocations: 32.64 kB / 445 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.1661, allocations: 105.3 kB / 445.1 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1661, allocations: 41.17 kB / 445.1 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.1661, allocations: 27.78 kB / 445.1 MB, free: 45.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.233e-05/0.1662, allocations: 332.2 kB / 445.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.1662, allocations: 38.17 kB / 445.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.1663, allocations: 69.58 kB / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.1664, allocations: 99.47 kB / 445.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1664, allocations: 0 / 445.7 MB, free: 45.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001511/0.1665, allocations: 164 kB / 445.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1666, allocations: 8.438 kB / 445.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1666, allocations: 1.969 kB / 445.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1666, allocations: 2.625 kB / 445.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.1666, allocations: 30.27 kB / 445.9 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1666, allocations: 9.25 kB / 445.9 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.1667, allocations: 0 / 445.9 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1667, allocations: 9.031 kB / 445.9 MB, free: 45.43 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 (15): * Single equations (assignments): 15 * 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.431e-05/0.1667, allocations: 132.5 kB / 446 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.1667, allocations: 13.56 kB / 446 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1669, allocations: 199.1 kB / 446.2 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1669, allocations: 2.812 kB / 446.2 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1669, allocations: 3.938 kB / 446.2 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1669, allocations: 0 / 446.2 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.1673, allocations: 488.5 kB / 446.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1673, allocations: 3.422 kB / 446.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.1673, allocations: 18.47 kB / 446.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1673, allocations: 2.594 kB / 446.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1673, allocations: 10.05 kB / 446.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1673, allocations: 1.125 kB / 446.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1673, allocations: 6.781 kB / 446.8 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.1675, allocations: 277.1 kB / 447 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.1675, allocations: 20.12 kB / 447 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1675, allocations: 10.41 kB / 447.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.1675, allocations: 4.281 kB / 447.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.1676, allocations: 14.72 kB / 447.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1676, allocations: 6.906 kB / 447.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.366e-05/0.1676, allocations: 154.4 kB / 447.2 MB, free: 44.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1676, allocations: 0 / 447.2 MB, free: 44.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.1678, allocations: 36.02 kB / 447.3 MB, free: 44.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001012/0.1688, allocations: 1.265 MB / 448.5 MB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.169, allocations: 110.6 kB / 448.6 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.169, allocations: 3.156 kB / 448.6 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.169, allocations: 62.53 kB / 448.7 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1693, allocations: 29.92 kB / 448.7 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1703, allocations: 1.907 MB / 450.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.178e-05/0.1704, allocations: 109.3 kB / 450.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.1704, allocations: 28.97 kB / 450.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.1705, allocations: 47.53 kB / 450.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1705, allocations: 0 / 450.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.1849, allocations: 5.001 MB / 455.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/6.908, allocations: 10.11 kB / 455.8 MB, free: 40.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.891676779836416]