Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.001301/0.001301, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001651/0.001651, allocations: 213.1 kB / 23.77 MB, free: 4.551 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.408/1.408, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2278/0.2278, allocations: 44.27 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 180] 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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",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.002275/0.002275, allocations: 67.91 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1273, allocations: 61.05 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003304/0.1306, allocations: 1.682 MB / 0.5186 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.132, allocations: 0.7778 MB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.1321, allocations: 4 kB / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1324, allocations: 87.69 kB / 0.5195 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1327, allocations: 75.72 kB / 0.5195 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1329, allocations: 91.75 kB / 0.5196 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1331, allocations: 111.7 kB / 0.5197 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.1332, allocations: 12.16 kB / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.1333, allocations: 51.83 kB / 0.5198 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1335, allocations: 71.75 kB / 0.5199 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1335, allocations: 4 kB / 0.5199 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1336, allocations: 47.97 kB / 0.5199 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.1336, allocations: 23.86 kB / 0.5199 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.1337, allocations: 27.8 kB / 0.52 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1339, allocations: 123.4 kB / 0.5201 GB, free: 3.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1339, allocations: 4 kB / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1339, allocations: 0 / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1339, allocations: 0 / 0.5201 GB, free: 3.926 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.0005535/0.1345, allocations: 345.6 kB / 0.5204 GB, free: 3.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1345, allocations: 12.03 kB / 0.5204 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.232e-05/0.1345, allocations: 12.19 kB / 0.5204 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.1346, allocations: 34.73 kB / 0.5205 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.1346, allocations: 12.84 kB / 0.5205 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1349, allocations: 158.2 kB / 0.5206 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1349, allocations: 12.12 kB / 0.5206 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1349, allocations: 0 / 0.5206 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1351, allocations: 57.67 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1351, allocations: 0 / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1351, allocations: 0 / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1351, allocations: 0 / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.1352, allocations: 23.98 kB / 0.5207 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1356, allocations: 260 kB / 0.521 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1358, allocations: 54.62 kB / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.1358, allocations: 20.84 kB / 0.521 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1359, allocations: 4 kB / 0.521 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.136, allocations: 67.33 kB / 0.5211 GB, free: 2.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.136, allocations: 0 / 0.5211 GB, free: 2.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005855/0.1366, allocations: 197.3 kB / 0.5213 GB, free: 2.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1366, allocations: 55.39 kB / 0.5213 GB, free: 2.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1369, allocations: 226.7 kB / 0.5216 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1369, allocations: 29.69 kB / 0.5216 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.137, allocations: 116 kB / 0.5217 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.137, allocations: 19.84 kB / 0.5217 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1371, allocations: 21.72 kB / 0.5217 GB, free: 2.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1372, allocations: 322.8 kB / 0.522 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.1373, allocations: 23.98 kB / 0.5221 GB, free: 1.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.1374, allocations: 37.7 kB / 0.5221 GB, free: 1.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1375, allocations: 65.7 kB / 0.5222 GB, free: 1.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1375, allocations: 0 / 0.5222 GB, free: 1.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.1377, allocations: 109.5 kB / 0.5223 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1377, allocations: 4.188 kB / 0.5223 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1377, allocations: 0 / 0.5223 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1377, allocations: 4.312 kB / 0.5223 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1378, allocations: 27.92 kB / 0.5223 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1378, allocations: 3.938 kB / 0.5223 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1379, allocations: 8 kB / 0.5223 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1379, allocations: 4.031 kB / 0.5223 GB, free: 1.41 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.0001182/0.138, allocations: 133.8 kB / 0.5225 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.138, allocations: 11.95 kB / 0.5225 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.1383, allocations: 123.1 kB / 0.5226 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1383, allocations: 4 kB / 0.5226 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1383, allocations: 3.938 kB / 0.5226 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1383, allocations: 0 / 0.5226 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.1388, allocations: 374.4 kB / 0.5229 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1389, allocations: 0 / 0.5229 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.1389, allocations: 20.02 kB / 0.523 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1389, allocations: 3.938 kB / 0.523 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1389, allocations: 0 / 0.523 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1389, allocations: 0 / 0.523 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1389, allocations: 4 kB / 0.523 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.1392, allocations: 216.2 kB / 0.5232 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.1392, allocations: 23.75 kB / 0.5232 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1392, allocations: 0 / 0.5232 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.1393, allocations: 4 kB / 0.5232 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.1394, allocations: 7.984 kB / 0.5232 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1394, allocations: 11.94 kB / 0.5232 GB, free: 408 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1395, allocations: 176.3 kB / 0.5234 GB, free: 232 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1395, allocations: 0 / 0.5234 GB, free: 232 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1398, allocations: 24 kB / 0.5234 GB, free: 208 kB / 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 (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.002384/0.1422, allocations: 1.129 MB / 0.5245 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1424, allocations: 55.91 kB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1424, allocations: 0 / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.1425, allocations: 31.98 kB / 0.5246 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1429, allocations: 35.41 kB / 0.5246 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.145, allocations: 1.747 MB / 0.5263 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.1451, allocations: 92.69 kB / 0.5264 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.1451, allocations: 20.78 kB / 0.5264 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.1452, allocations: 39.42 kB / 0.5265 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1452, allocations: 0 / 0.5265 GB, free: 12.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.1727, allocations: 3.894 MB / 0.5303 GB, free: 8.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.9, allocations: 8.062 kB / 0.5303 GB, free: 8.957 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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: 15.125714269001037]