Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.002233/0.002233, allocations: 121 kB / 18.49 MB, free: 4.586 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.00247/0.00247, allocations: 213.5 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.2177/0.2177, allocations: 44.91 MB / 355.8 MB, free: 12.34 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001968/0.001968, allocations: 67.91 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1283, allocations: 65.42 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003373/0.1317, allocations: 1.929 MB / 0.5544 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1337, allocations: 1.134 MB / 0.5555 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.1338, allocations: 7.938 kB / 0.5555 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004379/0.1342, allocations: 223.4 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.1347, allocations: 219.2 kB / 0.556 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1349, allocations: 119.6 kB / 0.5561 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.1353, allocations: 255.3 kB / 0.5563 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1354, allocations: 25.84 kB / 0.5563 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1356, allocations: 127.5 kB / 0.5565 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1358, allocations: 167.5 kB / 0.5566 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1358, allocations: 8 kB / 0.5566 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1359, allocations: 67.91 kB / 0.5567 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.136, allocations: 63.77 kB / 0.5567 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.1361, allocations: 95.23 kB / 0.5568 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.1364, allocations: 242.8 kB / 0.5571 GB, free: 5.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1364, allocations: 0 / 0.5571 GB, free: 5.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1364, allocations: 0 / 0.5571 GB, free: 5.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1365, allocations: 0 / 0.5571 GB, free: 5.395 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007702/0.1372, allocations: 0.5755 MB / 0.5576 GB, free: 4.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1373, allocations: 12.03 kB / 0.5576 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.1373, allocations: 8.125 kB / 0.5577 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.1373, allocations: 38.75 kB / 0.5577 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.1374, allocations: 28.75 kB / 0.5577 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.1378, allocations: 296.2 kB / 0.558 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1378, allocations: 8.125 kB / 0.558 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1378, allocations: 11.98 kB / 0.558 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.1381, allocations: 99.36 kB / 0.5581 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1381, allocations: 7.984 kB / 0.5581 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1381, allocations: 8 kB / 0.5581 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1381, allocations: 3.938 kB / 0.5581 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.1382, allocations: 43.97 kB / 0.5582 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006424/0.1389, allocations: 476.7 kB / 0.5586 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.1392, allocations: 117.2 kB / 0.5587 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1393, allocations: 41.81 kB / 0.5588 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1394, allocations: 15.92 kB / 0.5588 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.1396, allocations: 113.1 kB / 0.5589 GB, free: 3.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1396, allocations: 0 / 0.5589 GB, free: 3.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001317/0.1409, allocations: 0.5131 MB / 0.5594 GB, free: 2.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.141, allocations: 81.05 kB / 0.5595 GB, free: 2.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.1414, allocations: 444.5 kB / 0.5599 GB, free: 2.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1415, allocations: 37.7 kB / 0.5599 GB, free: 2.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1416, allocations: 156.5 kB / 0.5601 GB, free: 2.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.1417, allocations: 71.42 kB / 0.5602 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.1417, allocations: 41.7 kB / 0.5602 GB, free: 1.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1419, allocations: 350.8 kB / 0.5605 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.142, allocations: 51.98 kB / 0.5606 GB, free: 1.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1422, allocations: 101.5 kB / 0.5607 GB, free: 1.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1425, allocations: 159.5 kB / 0.5608 GB, free: 1.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1425, allocations: 4 kB / 0.5608 GB, free: 1.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004178/0.1429, allocations: 233.3 kB / 0.5611 GB, free: 1.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1429, allocations: 6.188 kB / 0.5611 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1429, allocations: 12 kB / 0.5611 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1429, allocations: 0 / 0.5611 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1431, allocations: 39.98 kB / 0.5611 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1431, allocations: 0 / 0.5611 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.1432, allocations: 19.88 kB / 0.5611 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1432, allocations: 8 kB / 0.5611 GB, free: 0.9297 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001724/0.1434, allocations: 173.7 kB / 0.5613 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.1434, allocations: 35.75 kB / 0.5613 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.1435, allocations: 42.81 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1435, allocations: 4 kB / 0.5614 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1435, allocations: 0 / 0.5614 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1435, allocations: 4 kB / 0.5614 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/0.1445, allocations: 0.7312 MB / 0.5621 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1445, allocations: 4.031 kB / 0.5621 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/0.1446, allocations: 31.92 kB / 0.5621 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1446, allocations: 4 kB / 0.5621 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1446, allocations: 11.98 kB / 0.5622 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1446, allocations: 4 kB / 0.5622 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1446, allocations: 7.875 kB / 0.5622 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.1451, allocations: 424.7 kB / 0.5626 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.1452, allocations: 104.9 kB / 0.5627 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.1452, allocations: 8 kB / 0.5627 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1454, allocations: 11.98 kB / 0.5627 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.1454, allocations: 23.92 kB / 0.5627 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1455, allocations: 8 kB / 0.5627 GB, free: 15.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003362/0.1458, allocations: 331 kB / 0.563 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1458, allocations: 0 / 0.563 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.1461, allocations: 51.92 kB / 0.5631 GB, free: 14.81 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002682/0.1488, allocations: 1.375 MB / 0.5644 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.1492, allocations: 155.8 kB / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1492, allocations: 0 / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1494, allocations: 75.84 kB / 0.5646 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.1499, allocations: 71.7 kB / 0.5647 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.1536, allocations: 2.88 MB / 0.5675 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.1541, allocations: 0.7753 MB / 0.5683 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1542, allocations: 41.92 kB / 0.5683 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.1543, allocations: 95.39 kB / 0.5684 GB, free: 9.383 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1543, allocations: 0 / 0.5684 GB, free: 9.383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.1771, allocations: 6.511 MB / 0.5748 GB, free: 2.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.779/8.957, allocations: 8.062 kB / 0.5748 GB, free: 2.941 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 12.142585718014743]