Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.001414/0.001414, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001524/0.001524, allocations: 209.9 kB / 22.99 MB, free: 4.605 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.471/1.471, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2443/0.2443, allocations: 44.26 MB / 330.3 MB, free: 9.32 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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.002488/0.002488, allocations: 67.91 kB / 467.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1313, allocations: 61.04 MB / 0.5162 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003824/0.1351, allocations: 1.891 MB / 0.5181 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.137, allocations: 0.9404 MB / 0.519 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1371, allocations: 4 kB / 0.519 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.1379, allocations: 203.4 kB / 0.5192 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.1383, allocations: 155.4 kB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.1388, allocations: 207.5 kB / 0.5195 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.1391, allocations: 259.2 kB / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1392, allocations: 14.08 kB / 0.5198 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1394, allocations: 111.5 kB / 0.5199 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1396, allocations: 111.6 kB / 0.52 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.1396, allocations: 8 kB / 0.52 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1398, allocations: 59.89 kB / 0.5201 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.1399, allocations: 59.77 kB / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.14, allocations: 67.53 kB / 0.5202 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.1404, allocations: 243 kB / 0.5204 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1404, allocations: 0 / 0.5204 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1404, allocations: 0 / 0.5204 GB, free: 2.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1404, allocations: 0 / 0.5204 GB, free: 2.805 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009352/0.1413, allocations: 474.6 kB / 0.5209 GB, free: 2.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1414, allocations: 11.97 kB / 0.5209 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.1414, allocations: 42.73 kB / 0.5209 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.1415, allocations: 20.8 kB / 0.5209 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.1419, allocations: 229.5 kB / 0.5211 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1419, allocations: 384 / 0.5211 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1419, allocations: 11.94 kB / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.1421, allocations: 99.3 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1421, allocations: 3.938 kB / 0.5213 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1421, allocations: 0 / 0.5213 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1422, allocations: 4 kB / 0.5213 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1423, allocations: 43.95 kB / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.1428, allocations: 328.8 kB / 0.5216 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.1431, allocations: 121.2 kB / 0.5217 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1433, allocations: 49.67 kB / 0.5218 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1433, allocations: 4 kB / 0.5218 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.1435, allocations: 121 kB / 0.5219 GB, free: 1.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1435, allocations: 0 / 0.5219 GB, free: 1.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005034/0.144, allocations: 185.4 kB / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.1441, allocations: 85.11 kB / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.1445, allocations: 336.2 kB / 0.5225 GB, free: 492 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.1445, allocations: 33.7 kB / 0.5225 GB, free: 452 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1447, allocations: 140 kB / 0.5226 GB, free: 308 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.1447, allocations: 35.81 kB / 0.5227 GB, free: 272 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.1448, allocations: 29.7 kB / 0.5227 GB, free: 236 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.145, allocations: 338.8 kB / 0.523 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-05/0.1451, allocations: 35.98 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1452, allocations: 97.97 kB / 0.5232 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1455, allocations: 107.9 kB / 0.5233 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1455, allocations: 7.938 kB / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00032/0.1458, allocations: 149.4 kB / 0.5234 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1458, allocations: 4 kB / 0.5234 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1458, allocations: 4 kB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1458, allocations: 0 / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1459, allocations: 23.98 kB / 0.5234 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1459, allocations: 12.05 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.149e-05/0.146, allocations: 15.83 kB / 0.5235 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1461, allocations: 7.984 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001675/0.1462, allocations: 153.8 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.1463, allocations: 19.86 kB / 0.5236 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.1467, allocations: 171.3 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1467, allocations: 4 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1467, allocations: 0 / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1467, allocations: 7.922 kB / 0.5238 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.1469, allocations: 212.6 kB / 0.524 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1469, allocations: 192 / 0.524 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.147, allocations: 16 kB / 0.524 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.147, allocations: 0 / 0.524 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.147, allocations: 3.984 kB / 0.524 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.147, allocations: 4 kB / 0.524 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.147, allocations: 0 / 0.524 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1474, allocations: 197.7 kB / 0.5242 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1474, allocations: 23.8 kB / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.1474, allocations: 8 kB / 0.5243 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.1475, allocations: 11.98 kB / 0.5243 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.1476, allocations: 15.92 kB / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1476, allocations: 4 kB / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.1479, allocations: 255 kB / 0.5245 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1479, allocations: 0 / 0.5245 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1482, allocations: 35.95 kB / 0.5246 GB, free: 14.2 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002352/0.1505, allocations: 1.073 MB / 0.5256 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1508, allocations: 95.89 kB / 0.5257 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1508, allocations: 4 kB / 0.5257 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.151, allocations: 51.91 kB / 0.5258 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.1514, allocations: 64.14 kB / 0.5258 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.1547, allocations: 2.309 MB / 0.5281 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.1549, allocations: 140.3 kB / 0.5282 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.155, allocations: 30.09 kB / 0.5282 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1551, allocations: 67.41 kB / 0.5283 GB, free: 10.26 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1551, allocations: 3.938 kB / 0.5283 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.1926, allocations: 6.471 MB / 0.5346 GB, free: 3.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.62, allocations: 8.016 kB / 0.5346 GB, free: 3.652 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.929409704171121]