Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001405/0.001405, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001431/0.001431, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2617/0.2617, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.84 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1468, allocations: 66 MB / 0.5554 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003183/0.15, allocations: 1.599 MB / 0.557 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1514, allocations: 0.5299 MB / 0.5575 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.1515, allocations: 0 / 0.5575 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1517, allocations: 35.77 kB / 0.5575 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.1521, allocations: 71.7 kB / 0.5576 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1524, allocations: 91.69 kB / 0.5577 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.1526, allocations: 71.77 kB / 0.5577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1528, allocations: 7.984 kB / 0.5577 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.1528, allocations: 19.92 kB / 0.5578 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.1529, allocations: 27.86 kB / 0.5578 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1529, allocations: 4 kB / 0.5578 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.153, allocations: 35.92 kB / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1531, allocations: 15.92 kB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.1531, allocations: 19.81 kB / 0.5579 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1534, allocations: 83.59 kB / 0.5579 GB, free: 3.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1534, allocations: 0 / 0.5579 GB, free: 3.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.471e-06/0.1534, allocations: 4 kB / 0.5579 GB, free: 3.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1534, allocations: 0 / 0.5579 GB, free: 3.223 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006637/0.1541, allocations: 394.9 kB / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1541, allocations: 16.03 kB / 0.5583 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.1541, allocations: 34.69 kB / 0.5584 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.1542, allocations: 8.891 kB / 0.5584 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1545, allocations: 192.2 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1545, allocations: 384 / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1545, allocations: 4.375 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1547, allocations: 49.62 kB / 0.5586 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1547, allocations: 3.984 kB / 0.5586 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1547, allocations: 4 kB / 0.5586 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1547, allocations: 4 kB / 0.5586 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1548, allocations: 23.97 kB / 0.5586 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.1553, allocations: 280.8 kB / 0.5589 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1556, allocations: 38.56 kB / 0.559 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.1556, allocations: 12.86 kB / 0.559 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1557, allocations: 8 kB / 0.559 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.456e-05/0.1558, allocations: 34.64 kB / 0.559 GB, free: 1.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1558, allocations: 0 / 0.559 GB, free: 1.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007673/0.1565, allocations: 141.4 kB / 0.5591 GB, free: 1.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.1566, allocations: 51.41 kB / 0.5592 GB, free: 1.758 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1568, allocations: 171.8 kB / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1569, allocations: 29.7 kB / 0.5594 GB, free: 1.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.157, allocations: 104 kB / 0.5595 GB, free: 1.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.157, allocations: 19.8 kB / 0.5595 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1571, allocations: 13.72 kB / 0.5595 GB, free: 1.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.1573, allocations: 326.8 kB / 0.5598 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1574, allocations: 15.98 kB / 0.5598 GB, free: 1.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1575, allocations: 23.98 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1577, allocations: 44.83 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1577, allocations: 0 / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002885/0.158, allocations: 85.88 kB / 0.56 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.158, allocations: 5.875 kB / 0.56 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.158, allocations: 0 / 0.56 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.158, allocations: 0 / 0.56 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.1581, allocations: 19.92 kB / 0.56 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1581, allocations: 7.938 kB / 0.56 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.1582, allocations: 7.984 kB / 0.56 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1582, allocations: 3.984 kB / 0.56 GB, free: 0.8555 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001313/0.1583, allocations: 120 kB / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.1584, allocations: 7.953 kB / 0.5602 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.1587, allocations: 89.97 kB / 0.5602 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1587, allocations: 4 kB / 0.5602 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1587, allocations: 3.938 kB / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1587, allocations: 3.984 kB / 0.5602 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.1594, allocations: 346.5 kB / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1594, allocations: 0 / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.1595, allocations: 15.98 kB / 0.5606 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1595, allocations: 3.938 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1595, allocations: 0 / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1595, allocations: 0 / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1595, allocations: 4 kB / 0.5606 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1599, allocations: 179.4 kB / 0.5608 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.16, allocations: 85.06 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.16, allocations: 3.938 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1601, allocations: 4.188 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.1602, allocations: 7.984 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.1602, allocations: 8 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.1604, allocations: 134 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1604, allocations: 0 / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.1608, allocations: 15.95 kB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002797/0.1636, allocations: 1.014 MB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.1639, allocations: 43.97 kB / 0.5621 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1639, allocations: 0 / 0.5621 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.164, allocations: 24.11 kB / 0.5621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.1645, allocations: 19.92 kB / 0.5621 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.1673, allocations: 1.476 MB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.1678, allocations: 0.6924 MB / 0.5642 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.472e-05/0.1679, allocations: 15.84 kB / 0.5642 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.168, allocations: 27.42 kB / 0.5643 GB, free: 12.45 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.168, allocations: 0 / 0.5643 GB, free: 12.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.1989, allocations: 2.609 MB / 0.5668 GB, free: 9.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.502, allocations: 0 / 0.5668 GB, free: 9.879 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.619035159936175]