Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.0008173/0.0008173, 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.0008478/0.0008478, allocations: 174 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.9263/0.9263, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2362/0.2362, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 3.938 kB / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.097e-05, allocations: 2.281 kB / 439.7 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002187/0.002208, allocations: 1.708 MB / 441.4 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003321, allocations: 0.9773 MB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.003397, allocations: 0 / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.003671, allocations: 43.75 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.003945, allocations: 95.48 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.004109, allocations: 79.66 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.004252, allocations: 103.6 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.004338, allocations: 8 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.004412, allocations: 55.83 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.004476, allocations: 31.84 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.00449, allocations: 4 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.004573, allocations: 47.91 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.00463, allocations: 27.86 kB / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.004664, allocations: 11.94 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004832, allocations: 119.6 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004835, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004836, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.004841, allocations: 0 / 443 MB, free: 0.8203 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.0004274/0.005268, allocations: 341.6 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.005306, allocations: 12.03 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.005336, allocations: 42.67 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.005368, allocations: 16.78 kB / 443.4 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.005563, allocations: 146.2 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.005575, allocations: 4.375 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.005592, allocations: 4.375 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.005705, allocations: 57.98 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.005715, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.005723, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.005728, allocations: 4 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.074e-05/0.005778, allocations: 19.98 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1605/0.1663, allocations: 252.4 kB / 443.9 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1664, allocations: 63.8 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.1664, allocations: 19.23 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1665, allocations: 0 / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.1666, allocations: 72.02 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1666, allocations: 0 / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004333/0.167, allocations: 186.7 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1671, allocations: 56.47 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1672, allocations: 184.3 kB / 444.4 MB, free: 46.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.1672, allocations: 29.89 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.1672, allocations: 102.5 kB / 444.6 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.1672, allocations: 20.38 kB / 444.6 MB, free: 46.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.1673, allocations: 28.03 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.179e-05/0.1673, allocations: 324.7 kB / 444.9 MB, free: 45.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.1673, allocations: 23.31 kB / 444.9 MB, free: 45.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.1674, allocations: 37.34 kB / 445 MB, free: 45.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/0.1674, allocations: 61.12 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1674, allocations: 4.688 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.1675, allocations: 107.8 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1676, allocations: 5.969 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1676, allocations: 2.875 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1676, allocations: 0.7188 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.1676, allocations: 18.91 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1676, allocations: 6.641 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.1677, allocations: 4.5 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.1677, allocations: 0 / 445.2 MB, free: 45.61 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.362e-05/0.1677, allocations: 131.7 kB / 445.3 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1677, allocations: 17.69 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.1679, allocations: 125.8 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1679, allocations: 0 / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1679, allocations: 3.875 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1679, allocations: 0 / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.1682, allocations: 370.9 kB / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1682, allocations: 0 / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.1682, allocations: 11.48 kB / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1682, allocations: 2.875 kB / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1682, allocations: 2.344 kB / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1682, allocations: 4.25 kB / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1682, allocations: 0 / 445.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1683, allocations: 222.6 kB / 446.1 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.1683, allocations: 9.391 kB / 446.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1683, allocations: 2.938 kB / 446.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.1684, allocations: 7.281 kB / 446.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1684, allocations: 9.109 kB / 446.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1684, allocations: 2.75 kB / 446.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.1685, allocations: 140.5 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1685, allocations: 3.938 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.1686, allocations: 30.77 kB / 446.3 MB, free: 44.91 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.0008921/0.1695, allocations: 1.143 MB / 447.4 MB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1696, allocations: 62.94 kB / 447.5 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1696, allocations: 2.938 kB / 447.5 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.1697, allocations: 24.38 kB / 447.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1699, allocations: 26.28 kB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.1709, allocations: 1.655 MB / 449.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.1709, allocations: 83.56 kB / 449.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.891e-05/0.1709, allocations: 17.03 kB / 449.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.171, allocations: 39.61 kB / 449.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.171, allocations: 3.938 kB / 449.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.1863, allocations: 4.224 MB / 453.5 MB, free: 41.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.511/6.697, allocations: 0 / 453.5 MB, free: 41.29 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.660831934772432]