Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001166/0.001166, allocations: 87.69 kB / 20.67 MB, free: 3.883 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.0008527/0.0008527, allocations: 165.3 kB / 23.95 MB, free: 0.6055 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.9129/0.9129, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2631/0.2631, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.441e-05, allocations: 6.281 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00251/0.002534, allocations: 1.723 MB / 441.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.003966, allocations: 0.982 MB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.004076, allocations: 3.938 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.004457, allocations: 83.69 kB / 442.5 MB, free: 1.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.004851, allocations: 131.4 kB / 442.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.005109, allocations: 75.67 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.005325, allocations: 127.5 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.005445, allocations: 11.98 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.005557, allocations: 67.81 kB / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.005682, allocations: 67.84 kB / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.005702, allocations: 8 kB / 443 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.005837, allocations: 63.8 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.005908, allocations: 27.91 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.005953, allocations: 23.88 kB / 443.1 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.006186, allocations: 139.5 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.006189, allocations: 0 / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.00619, allocations: 0 / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.006195, allocations: 0 / 443.2 MB, free: 0.6055 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005008/0.006696, allocations: 373.3 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.006739, allocations: 8.031 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.006777, allocations: 42.73 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.006817, allocations: 12.84 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2192/0.226, allocations: 153.1 kB / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2261, allocations: 3.438 kB / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.2261, allocations: 8.375 kB / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2263, allocations: 60.45 kB / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2263, allocations: 4.156 kB / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2263, allocations: 4.797 kB / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2263, allocations: 0 / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.2264, allocations: 23.86 kB / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.2267, allocations: 269.4 kB / 444.1 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2269, allocations: 63.52 kB / 444.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.2269, allocations: 19.17 kB / 444.2 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.2269, allocations: 2.875 kB / 444.2 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.2271, allocations: 75.22 kB / 444.3 MB, free: 46.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2271, allocations: 0.7188 kB / 444.3 MB, free: 46.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005828/0.2277, allocations: 268 kB / 444.6 MB, free: 46.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.2277, allocations: 51.41 kB / 444.6 MB, free: 46.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2278, allocations: 237.1 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.2278, allocations: 28.95 kB / 444.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.2279, allocations: 107.9 kB / 445 MB, free: 45.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.2279, allocations: 34.73 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.2279, allocations: 40.22 kB / 445.1 MB, free: 45.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.228, allocations: 320 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.228, allocations: 36.5 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.2281, allocations: 46.44 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.647e-05/0.2282, allocations: 84.23 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2282, allocations: 0 / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001345/0.2283, allocations: 143.1 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2283, allocations: 2.844 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2283, allocations: 2.656 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2283, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.2284, allocations: 25.95 kB / 445.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2284, allocations: 1.125 kB / 445.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.2284, allocations: 5.328 kB / 445.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.2284, allocations: 2.594 kB / 445.7 MB, free: 45.35 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 (13): * Single equations (assignments): 13 * 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.691e-05/0.2285, allocations: 132 kB / 445.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.2285, allocations: 30.58 kB / 445.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.2287, allocations: 150.8 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2288, allocations: 2.656 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2288, allocations: 3.375 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2288, allocations: 0 / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.2291, allocations: 430.8 kB / 446.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2291, allocations: 2.5 kB / 446.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.2292, allocations: 13.44 kB / 446.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2292, allocations: 1.5 kB / 446.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2292, allocations: 10.14 kB / 446.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2292, allocations: 0 / 446.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2292, allocations: 2.625 kB / 446.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2293, allocations: 252.3 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.2294, allocations: 17.41 kB / 446.7 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.2294, allocations: 6.188 kB / 446.7 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.2294, allocations: 2.531 kB / 446.7 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.2295, allocations: 12.27 kB / 446.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2295, allocations: 9.594 kB / 446.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.031e-05/0.2296, allocations: 178.9 kB / 446.9 MB, free: 44.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2296, allocations: 0 / 446.9 MB, free: 44.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.2298, allocations: 32.97 kB / 447 MB, free: 44.49 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 (12): * Single equations (assignments): 10 * 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.001311/0.2311, allocations: 1.23 MB / 448.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.2313, allocations: 81.17 kB / 448.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2313, allocations: 0 / 448.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.728e-05/0.2314, allocations: 41.95 kB / 448.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.2316, allocations: 40.72 kB / 448.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2329, allocations: 1.855 MB / 450.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.233, allocations: 105.6 kB / 450.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.233, allocations: 19.19 kB / 450.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.2331, allocations: 44.52 kB / 450.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.2331, allocations: 0 / 450.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.2521, allocations: 4.772 MB / 455.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.541/6.793, allocations: 7.094 kB / 455.2 MB, free: 40.67 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.825202574022114]