Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.248/0.248, allocations: 44.91 MB / 349.6 MB, free: 1.746 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 66.78 kB / 491.9 MB, free: 29.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1166, allocations: 64.27 MB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004359/0.1209, allocations: 1.726 MB / 0.5448 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1231, allocations: 0.9041 MB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.1232, allocations: 0 / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.1236, allocations: 111.6 kB / 0.5458 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.124, allocations: 79.72 kB / 0.5459 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.1244, allocations: 115.6 kB / 0.546 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.1247, allocations: 119.7 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1248, allocations: 16.25 kB / 0.5461 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1249, allocations: 51.78 kB / 0.5461 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1251, allocations: 79.72 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1251, allocations: 4 kB / 0.5462 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1253, allocations: 67.91 kB / 0.5463 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.1254, allocations: 19.92 kB / 0.5463 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.1255, allocations: 47.67 kB / 0.5464 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.1258, allocations: 159.3 kB / 0.5465 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1258, allocations: 0 / 0.5465 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1258, allocations: 4 kB / 0.5465 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1258, allocations: 0 / 0.5465 GB, free: 0.5273 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007853/0.1266, allocations: 442.5 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1266, allocations: 12.03 kB / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.126e-05/0.1267, allocations: 42.67 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.1268, allocations: 16.84 kB / 0.547 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.1273, allocations: 232 kB / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1273, allocations: 384 / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1273, allocations: 11.92 kB / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1275, allocations: 65.61 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1275, allocations: 0 / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1276, allocations: 4 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1276, allocations: 3.938 kB / 0.5473 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1277, allocations: 31.97 kB / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.1283, allocations: 320.8 kB / 0.5476 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.1286, allocations: 66.58 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.1287, allocations: 28.84 kB / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1287, allocations: 0 / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.129, allocations: 71.39 kB / 0.5478 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.129, allocations: 4 kB / 0.5478 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.001092/0.13, allocations: 277.8 kB / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.1301, allocations: 59.34 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.1305, allocations: 243.1 kB / 0.5484 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.1305, allocations: 33.7 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1306, allocations: 112.1 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.1307, allocations: 35.69 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.1307, allocations: 33.7 kB / 0.5486 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1309, allocations: 334.8 kB / 0.5489 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.131, allocations: 31.98 kB / 0.5489 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1312, allocations: 45.7 kB / 0.549 GB, free: 13.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.1315, allocations: 89.75 kB / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1315, allocations: 0 / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004129/0.1319, allocations: 149.5 kB / 0.5492 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1319, allocations: 8 kB / 0.5492 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1319, allocations: 7.922 kB / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1319, allocations: 0 / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1321, allocations: 31.86 kB / 0.5492 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1321, allocations: 0 / 0.5492 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.1321, allocations: 7.984 kB / 0.5492 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1322, allocations: 8 kB / 0.5492 GB, free: 13.48 MB / 414.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 (14): * Single equations (assignments): 14 * 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.0001605/0.1323, allocations: 137.9 kB / 0.5494 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1324, allocations: 11.91 kB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.1324, allocations: 21.39 kB / 0.5494 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1324, allocations: 7.938 kB / 0.5494 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.1325, allocations: 4 kB / 0.5494 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1325, allocations: 0 / 0.5494 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.1333, allocations: 476 kB / 0.5499 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1333, allocations: 8.156 kB / 0.5499 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.1333, allocations: 15.94 kB / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1334, allocations: 0 / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1334, allocations: 4 kB / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1334, allocations: 0 / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1334, allocations: 7.938 kB / 0.5499 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.1338, allocations: 253 kB / 0.5501 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.1339, allocations: 89.02 kB / 0.5502 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1339, allocations: 11.98 kB / 0.5502 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.134, allocations: 0 / 0.5502 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.1341, allocations: 11.98 kB / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1341, allocations: 8 kB / 0.5503 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.1344, allocations: 184.5 kB / 0.5504 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1344, allocations: 0 / 0.5504 GB, free: 12.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.1348, allocations: 31.88 kB / 0.5505 GB, free: 12.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.003157/0.138, allocations: 1.191 MB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.1383, allocations: 91.84 kB / 0.5517 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1383, allocations: 0 / 0.5517 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.1385, allocations: 39.92 kB / 0.5518 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.139, allocations: 36.45 kB / 0.5518 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.1425, allocations: 1.926 MB / 0.5537 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.143, allocations: 0.724 MB / 0.5544 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.1432, allocations: 21.06 kB / 0.5544 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.1433, allocations: 51.61 kB / 0.5544 GB, free: 8.094 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1433, allocations: 0 / 0.5544 GB, free: 8.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.1785, allocations: 4.147 MB / 0.5585 GB, free: 3.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/7.991, allocations: 11.56 kB / 0.5585 GB, free: 3.969 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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: 11.246988780796528]