Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001287/0.001287, allocations: 114 kB / 19.58 MB, free: 2.285 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.001467/0.001467, allocations: 208.3 kB / 22.87 MB, free: 5.645 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.426/1.426, allocations: 207.6 MB / 233.6 MB, free: 9.984 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.2084/0.2084, allocations: 44.24 MB / 330.1 MB, free: 9.547 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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.002193/0.002193, allocations: 82.53 kB / 467.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1309, allocations: 61.04 MB / 0.5159 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003583/0.1345, allocations: 1.711 MB / 0.5176 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.136, allocations: 0.8312 MB / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.1361, allocations: 7.938 kB / 0.5184 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1364, allocations: 51.8 kB / 0.5184 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.1366, allocations: 63.7 kB / 0.5185 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.137, allocations: 91.75 kB / 0.5186 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1372, allocations: 91.7 kB / 0.5187 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.1372, allocations: 16.2 kB / 0.5187 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1374, allocations: 47.78 kB / 0.5187 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.578e-05/0.1374, allocations: 31.78 kB / 0.5188 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1375, allocations: 4 kB / 0.5188 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1376, allocations: 43.98 kB / 0.5188 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.1376, allocations: 31.84 kB / 0.5188 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.1377, allocations: 39.69 kB / 0.5189 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.138, allocations: 131.4 kB / 0.519 GB, free: 4.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.138, allocations: 4 kB / 0.519 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.138, allocations: 0 / 0.519 GB, free: 4.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.138, allocations: 0 / 0.519 GB, free: 4.18 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.0006423/0.1386, allocations: 361.4 kB / 0.5194 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1387, allocations: 12.03 kB / 0.5194 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.1387, allocations: 30.75 kB / 0.5194 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.1388, allocations: 16.84 kB / 0.5194 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1391, allocations: 170 kB / 0.5196 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1391, allocations: 384 / 0.5196 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1392, allocations: 7.938 kB / 0.5196 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1393, allocations: 53.67 kB / 0.5196 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1394, allocations: 0 / 0.5196 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1394, allocations: 0 / 0.5196 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1394, allocations: 4 kB / 0.5196 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.1394, allocations: 19.92 kB / 0.5197 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.1399, allocations: 275.8 kB / 0.5199 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.14, allocations: 58.67 kB / 0.52 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.1401, allocations: 20.84 kB / 0.52 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1401, allocations: 7.969 kB / 0.52 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.1403, allocations: 75.33 kB / 0.5201 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1403, allocations: 0 / 0.5201 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006216/0.1409, allocations: 181.3 kB / 0.5203 GB, free: 2.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.141, allocations: 51.41 kB / 0.5203 GB, free: 2.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.1413, allocations: 263.4 kB / 0.5206 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1413, allocations: 29.7 kB / 0.5206 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.1414, allocations: 112.1 kB / 0.5207 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.1414, allocations: 23.8 kB / 0.5207 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.1415, allocations: 33.64 kB / 0.5207 GB, free: 2.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1416, allocations: 326.8 kB / 0.5211 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.1417, allocations: 19.98 kB / 0.5211 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.1418, allocations: 33.7 kB / 0.5211 GB, free: 1.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1419, allocations: 61.73 kB / 0.5212 GB, free: 1.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1419, allocations: 0 / 0.5212 GB, free: 1.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002191/0.1421, allocations: 125.4 kB / 0.5213 GB, free: 1.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1421, allocations: 4 kB / 0.5213 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1421, allocations: 0 / 0.5213 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1421, allocations: 0 / 0.5213 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.1422, allocations: 16 kB / 0.5213 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1422, allocations: 3.984 kB / 0.5213 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.1423, allocations: 3.938 kB / 0.5213 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1423, allocations: 4 kB / 0.5213 GB, free: 1.609 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.0001369/0.1424, allocations: 133.9 kB / 0.5214 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1425, allocations: 19.91 kB / 0.5215 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.1427, allocations: 115 kB / 0.5216 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1427, allocations: 4 kB / 0.5216 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1427, allocations: 0 / 0.5216 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1427, allocations: 3.938 kB / 0.5216 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.1432, allocations: 374.4 kB / 0.5219 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1432, allocations: 4 kB / 0.5219 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.1433, allocations: 8.031 kB / 0.5219 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.1433, allocations: 11.88 kB / 0.522 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1433, allocations: 384 / 0.522 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1433, allocations: 0 / 0.522 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1433, allocations: 8 kB / 0.522 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.1436, allocations: 204.2 kB / 0.5222 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.1436, allocations: 15.89 kB / 0.5222 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.1436, allocations: 11.94 kB / 0.5222 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1437, allocations: 4 kB / 0.5222 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1437, allocations: 7.984 kB / 0.5222 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1437, allocations: 4 kB / 0.5222 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.1439, allocations: 199.3 kB / 0.5224 GB, free: 424 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1439, allocations: 0 / 0.5224 GB, free: 424 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1442, allocations: 27.92 kB / 0.5224 GB, free: 396 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 (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.002439/0.1467, allocations: 1.106 MB / 0.5235 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.1469, allocations: 59.91 kB / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1469, allocations: 0 / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.147, allocations: 23.98 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1473, allocations: 31.92 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.1497, allocations: 1.8 MB / 0.5254 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.1499, allocations: 105.7 kB / 0.5255 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.108e-05/0.1499, allocations: 17.27 kB / 0.5255 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.15, allocations: 43.42 kB / 0.5255 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.15, allocations: 0 / 0.5255 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.182, allocations: 3.899 MB / 0.5293 GB, free: 9.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.03, allocations: 8.922 kB / 0.5293 GB, free: 9.121 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.129456849768758]