Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001706/0.001706, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002155/0.002155, allocations: 211.9 kB / 23.78 MB, free: 4.523 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.473/1.473, allocations: 207.7 MB / 234.6 MB, free: 9.77 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.2205/0.2205, allocations: 44.27 MB / 331.1 MB, free: 9.297 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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.002291/0.002291, allocations: 66.23 kB / 468.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1262, allocations: 61.05 MB / 0.517 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003725/0.1299, allocations: 1.674 MB / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1314, allocations: 0.7817 MB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.1315, allocations: 0 / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1319, allocations: 39.77 kB / 0.5194 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.1321, allocations: 51.77 kB / 0.5195 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1324, allocations: 91.69 kB / 0.5196 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1326, allocations: 95.7 kB / 0.5196 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.1327, allocations: 16.16 kB / 0.5197 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.1328, allocations: 43.83 kB / 0.5197 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.1328, allocations: 31.8 kB / 0.5197 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1329, allocations: 4 kB / 0.5197 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.133, allocations: 39.98 kB / 0.5198 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.133, allocations: 23.91 kB / 0.5198 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.1331, allocations: 23.88 kB / 0.5198 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1333, allocations: 111.5 kB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1333, allocations: 3.938 kB / 0.5199 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1333, allocations: 0 / 0.5199 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1333, allocations: 4 kB / 0.5199 GB, free: 4.059 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.0005197/0.1338, allocations: 321.8 kB / 0.5202 GB, free: 3.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1339, allocations: 12.02 kB / 0.5202 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.402e-05/0.1339, allocations: 4.188 kB / 0.5203 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.1339, allocations: 38.75 kB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.134, allocations: 8.891 kB / 0.5203 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1342, allocations: 142.5 kB / 0.5204 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.1343, allocations: 0 / 0.5204 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1343, allocations: 8 kB / 0.5204 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1344, allocations: 53.61 kB / 0.5205 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1344, allocations: 8 kB / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1345, allocations: 0 / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1345, allocations: 4 kB / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.406e-05/0.1345, allocations: 23.97 kB / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1349, allocations: 252 kB / 0.5208 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1351, allocations: 58.61 kB / 0.5208 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.1352, allocations: 20.84 kB / 0.5208 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.1352, allocations: 3.938 kB / 0.5208 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.1353, allocations: 71.39 kB / 0.5209 GB, free: 2.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1353, allocations: 0 / 0.5209 GB, free: 2.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005894/0.1359, allocations: 185.3 kB / 0.5211 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.136, allocations: 51.41 kB / 0.5211 GB, free: 2.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1361, allocations: 162.4 kB / 0.5213 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1362, allocations: 29.7 kB / 0.5213 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.1362, allocations: 100.1 kB / 0.5214 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1363, allocations: 19.8 kB / 0.5214 GB, free: 2.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.1363, allocations: 25.7 kB / 0.5215 GB, free: 2.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1364, allocations: 322.8 kB / 0.5218 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.1365, allocations: 27.98 kB / 0.5218 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.1366, allocations: 41.64 kB / 0.5218 GB, free: 1.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1367, allocations: 53.72 kB / 0.5219 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1367, allocations: 0 / 0.5219 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.1369, allocations: 109.5 kB / 0.522 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1369, allocations: 7.938 kB / 0.522 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1369, allocations: 4.188 kB / 0.522 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.137, allocations: 384 / 0.522 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.137, allocations: 23.95 kB / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1371, allocations: 0 / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.1371, allocations: 12 kB / 0.522 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1371, allocations: 4 kB / 0.522 GB, free: 1.684 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.0001052/0.1372, allocations: 121.8 kB / 0.5222 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1372, allocations: 15.89 kB / 0.5222 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.1375, allocations: 118.3 kB / 0.5223 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1375, allocations: 0 / 0.5223 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1375, allocations: 0 / 0.5223 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1375, allocations: 0 / 0.5223 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.138, allocations: 382.5 kB / 0.5227 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.138, allocations: 0 / 0.5227 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.1381, allocations: 8 kB / 0.5227 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1381, allocations: 4 kB / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1381, allocations: 0 / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1381, allocations: 0 / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1381, allocations: 4 kB / 0.5227 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1383, allocations: 216.1 kB / 0.5229 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.1384, allocations: 11.95 kB / 0.5229 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1384, allocations: 8.031 kB / 0.5229 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.1385, allocations: 0 / 0.5229 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1385, allocations: 7.984 kB / 0.5229 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1385, allocations: 8 kB / 0.5229 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1386, allocations: 131.9 kB / 0.523 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1386, allocations: 0 / 0.523 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1389, allocations: 27.88 kB / 0.5231 GB, free: 0.5508 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 (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.002429/0.1413, allocations: 1.125 MB / 0.5242 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1416, allocations: 51.92 kB / 0.5242 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1416, allocations: 0 / 0.5242 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.1417, allocations: 35.92 kB / 0.5242 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.142, allocations: 35.66 kB / 0.5243 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1441, allocations: 1.597 MB / 0.5258 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.089e-05/0.1442, allocations: 83.31 kB / 0.5259 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.763e-05/0.1443, allocations: 24.77 kB / 0.5259 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.1443, allocations: 31.42 kB / 0.526 GB, free: 13.48 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1443, allocations: 4 kB / 0.526 GB, free: 13.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.1677, allocations: 3.604 MB / 0.5295 GB, free: 9.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.63, allocations: 4.062 kB / 0.5295 GB, free: 9.754 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.08429475093726]