Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 120.1 kB / 18.49 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001781, allocations: 214.2 kB / 21.45 MB, free: 1.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 230.5 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.91 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 80.17 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1378, allocations: 66.04 MB / 0.5562 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003721/0.1415, allocations: 1.687 MB / 0.5578 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1428, allocations: 0.5839 MB / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.569e-05/0.1429, allocations: 0 / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1432, allocations: 55.73 kB / 0.5585 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.1437, allocations: 83.61 kB / 0.5585 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.1442, allocations: 189 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.1445, allocations: 83.77 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1446, allocations: 24.14 kB / 0.5588 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.1447, allocations: 31.92 kB / 0.5588 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1449, allocations: 47.75 kB / 0.5589 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1449, allocations: 4 kB / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1451, allocations: 59.98 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.1452, allocations: 19.92 kB / 0.559 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.1452, allocations: 43.66 kB / 0.559 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.1455, allocations: 115.5 kB / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1455, allocations: 0 / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1455, allocations: 0 / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1455, allocations: 0 / 0.5591 GB, free: 2.465 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006474/0.1461, allocations: 422.7 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1462, allocations: 12.03 kB / 0.5595 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.929e-05/0.1462, allocations: 4.188 kB / 0.5595 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.1463, allocations: 38.73 kB / 0.5596 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.1463, allocations: 12.84 kB / 0.5596 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1466, allocations: 208.1 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1466, allocations: 384 / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1467, allocations: 8.375 kB / 0.5598 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.1469, allocations: 69.97 kB / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1469, allocations: 0 / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1469, allocations: 0 / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1469, allocations: 4 kB / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1471, allocations: 43.91 kB / 0.5599 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1476, allocations: 332.7 kB / 0.5602 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1479, allocations: 62.58 kB / 0.5603 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.148, allocations: 28.97 kB / 0.5603 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.148, allocations: 0 / 0.5603 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.148, allocations: 30.56 kB / 0.5603 GB, free: 1.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.148, allocations: 0 / 0.5603 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001659/0.1497, allocations: 433.3 kB / 0.5608 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1497, allocations: 59.34 kB / 0.5608 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.15, allocations: 186.9 kB / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.15, allocations: 25.7 kB / 0.561 GB, free: 320 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.1501, allocations: 108.1 kB / 0.5611 GB, free: 208 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.1501, allocations: 43.59 kB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1502, allocations: 25.7 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.1504, allocations: 334.8 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1505, allocations: 51.95 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1507, allocations: 51.95 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.151, allocations: 124.8 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.151, allocations: 0 / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003759/0.1513, allocations: 165.8 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1514, allocations: 4 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1514, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1514, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1515, allocations: 31.91 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1515, allocations: 7.938 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.1516, allocations: 15.98 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1516, allocations: 4 kB / 0.5619 GB, free: 15.34 MB / 430.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 (11): * Single equations (assignments): 11 * 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.0001154/0.1517, allocations: 126.7 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.1518, allocations: 15.91 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.1522, allocations: 194.2 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1522, allocations: 0 / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1522, allocations: 7.938 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1522, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007955/0.153, allocations: 0.5 MB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.153, allocations: 3.938 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.1531, allocations: 36.02 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1531, allocations: 192 / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1532, allocations: 12 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1532, allocations: 0 / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1532, allocations: 0 / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.1536, allocations: 277 kB / 0.5631 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.1536, allocations: 89.02 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1537, allocations: 8 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1538, allocations: 7.984 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.1538, allocations: 11.98 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.1538, allocations: 4 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1539, allocations: 147.2 kB / 0.5633 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1539, allocations: 4 kB / 0.5633 GB, free: 13.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1542, allocations: 23.94 kB / 0.5634 GB, free: 13.77 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002446/0.1567, allocations: 1.14 MB / 0.5645 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003864/0.157, allocations: 131.8 kB / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.157, allocations: 0 / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.1572, allocations: 63.89 kB / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1576, allocations: 26.8 kB / 0.5647 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.1605, allocations: 1.899 MB / 0.5665 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.1609, allocations: 0.7199 MB / 0.5672 GB, free: 9.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.161, allocations: 32.52 kB / 0.5673 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.1611, allocations: 43.36 kB / 0.5673 GB, free: 9.738 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1611, allocations: 0 / 0.5673 GB, free: 9.738 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.1808, allocations: 3.511 MB / 0.5707 GB, free: 6.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.203, allocations: 10.86 kB / 0.5707 GB, free: 6.27 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.18271367502166]