Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.00142/0.00142, allocations: 110 kB / 19.69 MB, free: 2.203 MB / 14.72 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.001652/0.001652, allocations: 222.3 kB / 23 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.266/0.266, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 67.91 kB / 467.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1357, allocations: 61.05 MB / 0.5162 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003396/0.1391, allocations: 1.711 MB / 0.5179 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1406, allocations: 0.8312 MB / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.1407, allocations: 3.938 kB / 0.5187 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.141, allocations: 35.83 kB / 0.5187 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1412, allocations: 55.7 kB / 0.5188 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1415, allocations: 91.75 kB / 0.5189 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1417, allocations: 95.7 kB / 0.519 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1418, allocations: 8.219 kB / 0.519 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1419, allocations: 47.77 kB / 0.519 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.308e-05/0.142, allocations: 35.8 kB / 0.5191 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.142, allocations: 0 / 0.5191 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.242e-05/0.1421, allocations: 39.98 kB / 0.5191 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.1421, allocations: 23.91 kB / 0.5191 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.1422, allocations: 31.75 kB / 0.5191 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1424, allocations: 107.6 kB / 0.5192 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1424, allocations: 4 kB / 0.5193 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1424, allocations: 4 kB / 0.5193 GB, free: 4.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1424, allocations: 3.938 kB / 0.5193 GB, free: 4.137 MB / 398.1 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.0006041/0.143, allocations: 333.7 kB / 0.5196 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1431, allocations: 8.031 kB / 0.5196 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.1431, allocations: 30.75 kB / 0.5196 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.1431, allocations: 8.891 kB / 0.5196 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1434, allocations: 150.4 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1434, allocations: 384 / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1435, allocations: 11.94 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1436, allocations: 57.61 kB / 0.5198 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1436, allocations: 3.953 kB / 0.5198 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1436, allocations: 3.984 kB / 0.5198 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1437, allocations: 4 kB / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.1437, allocations: 15.98 kB / 0.5199 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.1441, allocations: 252 kB / 0.5201 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1443, allocations: 66.61 kB / 0.5202 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.1444, allocations: 20.84 kB / 0.5202 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1444, allocations: 3.938 kB / 0.5202 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.1445, allocations: 63.39 kB / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1445, allocations: 0 / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.1451, allocations: 177.3 kB / 0.5204 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1452, allocations: 55.41 kB / 0.5205 GB, free: 2.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1454, allocations: 170.2 kB / 0.5206 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1454, allocations: 29.7 kB / 0.5207 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.1455, allocations: 100.1 kB / 0.5208 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.1455, allocations: 19.86 kB / 0.5208 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1455, allocations: 29.64 kB / 0.5208 GB, free: 2.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1457, allocations: 326.8 kB / 0.5211 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.1458, allocations: 20 kB / 0.5211 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.1458, allocations: 37.64 kB / 0.5212 GB, free: 1.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1459, allocations: 65.75 kB / 0.5212 GB, free: 1.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1459, allocations: 0 / 0.5212 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.1461, allocations: 101.5 kB / 0.5213 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1461, allocations: 8.031 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1461, allocations: 0 / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1462, allocations: 7.984 kB / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.1463, allocations: 12 kB / 0.5214 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1463, allocations: 0 / 0.5214 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1463, allocations: 7.938 kB / 0.5214 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1463, allocations: 4.375 kB / 0.5214 GB, free: 1.77 MB / 398.1 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 0.0001088/0.1464, allocations: 129.8 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.1464, allocations: 7.953 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.1467, allocations: 114.3 kB / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1467, allocations: 3.984 kB / 0.5216 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1467, allocations: 4 kB / 0.5216 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1467, allocations: 3.938 kB / 0.5216 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.1471, allocations: 366.4 kB / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1471, allocations: 0 / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1472, allocations: 8 kB / 0.522 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1472, allocations: 3.938 kB / 0.522 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1472, allocations: 8.016 kB / 0.522 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1472, allocations: 4 kB / 0.522 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1472, allocations: 3.938 kB / 0.522 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1474, allocations: 204.3 kB / 0.5222 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.1475, allocations: 7.953 kB / 0.5222 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1475, allocations: 7.938 kB / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1476, allocations: 8 kB / 0.5222 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1476, allocations: 3.984 kB / 0.5222 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1476, allocations: 4 kB / 0.5222 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1477, allocations: 139.9 kB / 0.5224 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1477, allocations: 0 / 0.5224 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.148, allocations: 20 kB / 0.5224 GB, free: 0.6484 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.002157/0.1502, allocations: 1.102 MB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1504, allocations: 55.92 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1504, allocations: 0 / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.1504, allocations: 31.92 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1508, allocations: 19.98 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1526, allocations: 1.605 MB / 0.5251 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.153, allocations: 0.7002 MB / 0.5258 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.153, allocations: 17.27 kB / 0.5258 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.1531, allocations: 31.42 kB / 0.5258 GB, free: 12.99 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.1531, allocations: 0 / 0.5258 GB, free: 12.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.1854, allocations: 3.49 MB / 0.5293 GB, free: 9.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.53, allocations: 9.062 kB / 0.5293 GB, free: 9.398 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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: 14.838386126095429]