Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001498/0.001498, allocations: 117 kB / 18.49 MB, free: 4.566 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.001594/0.001594, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.452/1.452, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2148/0.2148, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 83.88 kB / 0.4917 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1251, allocations: 66.04 MB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002981/0.1281, allocations: 1.66 MB / 0.5578 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1291, allocations: 0.5411 MB / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.1291, allocations: 4 kB / 0.5583 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1293, allocations: 39.75 kB / 0.5584 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1296, allocations: 83.62 kB / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1298, allocations: 91.75 kB / 0.5585 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.13, allocations: 87.75 kB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.1301, allocations: 19.98 kB / 0.5586 GB, free: 3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.1302, allocations: 39.8 kB / 0.5587 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.1302, allocations: 39.77 kB / 0.5587 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1303, allocations: 4 kB / 0.5587 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.1304, allocations: 47.98 kB / 0.5588 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.1304, allocations: 19.92 kB / 0.5588 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.1304, allocations: 31.8 kB / 0.5588 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1306, allocations: 119.4 kB / 0.5589 GB, free: 2.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1306, allocations: 0 / 0.5589 GB, free: 2.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1306, allocations: 0 / 0.5589 GB, free: 2.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1306, allocations: 4 kB / 0.5589 GB, free: 2.699 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005032/0.1311, allocations: 406.8 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1312, allocations: 12.03 kB / 0.5593 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.454e-05/0.1312, allocations: 192 / 0.5593 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1312, allocations: 42.73 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1313, allocations: 12.84 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.1315, allocations: 200.1 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1315, allocations: 384 / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1315, allocations: 12.31 kB / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1317, allocations: 73.92 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1317, allocations: 0 / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1317, allocations: 4 kB / 0.5597 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1317, allocations: 4 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1318, allocations: 39.95 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1322, allocations: 324.7 kB / 0.56 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1323, allocations: 62.55 kB / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.1324, allocations: 28.84 kB / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1324, allocations: 0 / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1324, allocations: 30.56 kB / 0.5601 GB, free: 1.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1324, allocations: 4 kB / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001027/0.1335, allocations: 297.2 kB / 0.5604 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1335, allocations: 55.34 kB / 0.5605 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1337, allocations: 164.8 kB / 0.5606 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1337, allocations: 29.7 kB / 0.5607 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1337, allocations: 104.2 kB / 0.5608 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.1338, allocations: 47.55 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1338, allocations: 29.7 kB / 0.5608 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.134, allocations: 322.8 kB / 0.5611 GB, free: 220 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.1341, allocations: 35.98 kB / 0.5612 GB, free: 184 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.1342, allocations: 42.23 kB / 0.5612 GB, free: 144 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.1343, allocations: 88.77 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1343, allocations: 8 kB / 0.5613 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002708/0.1346, allocations: 126.4 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1346, allocations: 4 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1346, allocations: 3.938 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1347, allocations: 0 / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1348, allocations: 27.98 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1348, allocations: 7.984 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.1348, allocations: 0 / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1348, allocations: 8 kB / 0.5615 GB, free: 15.86 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 (13): * Single equations (assignments): 13 * 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 9.971e-05/0.1349, allocations: 129.8 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.135, allocations: 11.91 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.1353, allocations: 167.6 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1353, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1353, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1353, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.1359, allocations: 479 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1359, allocations: 4 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.396e-05/0.136, allocations: 27.98 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.136, allocations: 0 / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.136, allocations: 7.938 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.136, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.136, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.1364, allocations: 259.3 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.1364, allocations: 89 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1364, allocations: 4 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.1365, allocations: 11.98 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1366, allocations: 4 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1366, allocations: 11.98 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.1367, allocations: 127.2 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1367, allocations: 0 / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1369, allocations: 24 kB / 0.5628 GB, free: 14.43 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.002191/0.1391, allocations: 1.113 MB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.1394, allocations: 95.27 kB / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1394, allocations: 0 / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1395, allocations: 47.97 kB / 0.564 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1398, allocations: 23.88 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.1419, allocations: 1.681 MB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1422, allocations: 0.708 MB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.1423, allocations: 16.55 kB / 0.5664 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.1423, allocations: 35.42 kB / 0.5664 GB, free: 10.73 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1423, allocations: 4 kB / 0.5664 GB, free: 10.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.1601, allocations: 3.247 MB / 0.5696 GB, free: 7.535 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.03, allocations: 4 kB / 0.5696 GB, free: 7.531 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.012672065990046]