Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001309/0.001309, allocations: 117 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.001654/0.001654, allocations: 212.7 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.435/1.435, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2152/0.2152, allocations: 46.93 MB / 357.7 MB, free: 10.16 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 75.88 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1356, allocations: 66.05 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003037/0.1386, allocations: 1.62 MB / 0.5578 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1396, allocations: 0.5527 MB / 0.5583 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.1397, allocations: 4 kB / 0.5583 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1399, allocations: 71.77 kB / 0.5584 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1402, allocations: 111.6 kB / 0.5585 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1405, allocations: 114.4 kB / 0.5586 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1407, allocations: 83.75 kB / 0.5587 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.1408, allocations: 11.98 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.614e-05/0.1408, allocations: 47.83 kB / 0.5587 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.141, allocations: 51.83 kB / 0.5588 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.141, allocations: 8 kB / 0.5588 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.1411, allocations: 47.97 kB / 0.5588 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.1411, allocations: 19.92 kB / 0.5588 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.1412, allocations: 39.67 kB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1414, allocations: 99.58 kB / 0.559 GB, free: 2.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1414, allocations: 4 kB / 0.559 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1414, allocations: 0 / 0.559 GB, free: 2.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1414, allocations: 0 / 0.559 GB, free: 2.578 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005458/0.1419, allocations: 418.7 kB / 0.5594 GB, free: 2.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.142, allocations: 8.031 kB / 0.5594 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.142, allocations: 8.188 kB / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.142, allocations: 30.75 kB / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.142, allocations: 16.84 kB / 0.5594 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1423, allocations: 208.7 kB / 0.5596 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1423, allocations: 8.359 kB / 0.5596 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1423, allocations: 4.375 kB / 0.5597 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1425, allocations: 57.98 kB / 0.5597 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1425, allocations: 7.938 kB / 0.5597 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1425, allocations: 0 / 0.5597 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1425, allocations: 4 kB / 0.5597 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1426, allocations: 27.97 kB / 0.5597 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.143, allocations: 300.8 kB / 0.56 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.1432, allocations: 42.55 kB / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.1432, allocations: 16.86 kB / 0.5601 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1432, allocations: 8.062 kB / 0.5601 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1433, allocations: 34.64 kB / 0.5601 GB, free: 1.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1433, allocations: 0 / 0.5601 GB, free: 1.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009505/0.1442, allocations: 241.2 kB / 0.5604 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.1443, allocations: 59.34 kB / 0.5604 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1445, allocations: 218.2 kB / 0.5606 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1445, allocations: 29.7 kB / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.1446, allocations: 104.1 kB / 0.5608 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1446, allocations: 31.73 kB / 0.5608 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.1447, allocations: 21.72 kB / 0.5608 GB, free: 500 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1449, allocations: 326.8 kB / 0.5611 GB, free: 164 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.1449, allocations: 35.97 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.145, allocations: 27.98 kB / 0.5612 GB, free: 100 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.1452, allocations: 72.81 kB / 0.5612 GB, free: 24 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1452, allocations: 0 / 0.5612 GB, free: 24 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002616/0.1455, allocations: 113.5 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1455, allocations: 12 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1455, allocations: 0 / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1455, allocations: 0 / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1456, allocations: 15.98 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1456, allocations: 4.312 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.1457, allocations: 7.938 kB / 0.5614 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1457, allocations: 4 kB / 0.5614 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 (8): * Single equations (assignments): 8 * 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.0001145/0.1458, allocations: 125.8 kB / 0.5615 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.1458, allocations: 15.91 kB / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.1461, allocations: 139 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1461, allocations: 0 / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1461, allocations: 0 / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1461, allocations: 3.938 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.1467, allocations: 419.7 kB / 0.5621 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1467, allocations: 4.031 kB / 0.5621 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.1468, allocations: 19.98 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1468, allocations: 3.938 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1468, allocations: 8 kB / 0.5621 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1468, allocations: 0 / 0.5621 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1468, allocations: 3.938 kB / 0.5621 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.1471, allocations: 220.2 kB / 0.5623 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1472, allocations: 89.02 kB / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1472, allocations: 3.938 kB / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.1473, allocations: 7.984 kB / 0.5624 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1473, allocations: 11.94 kB / 0.5624 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1473, allocations: 8 kB / 0.5624 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1475, allocations: 160.2 kB / 0.5626 GB, free: 14.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1475, allocations: 0 / 0.5626 GB, free: 14.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1477, allocations: 27.92 kB / 0.5626 GB, free: 14.5 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 (8): * Single equations (assignments): 8 * 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.1499, allocations: 1.095 MB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1502, allocations: 75.94 kB / 0.5638 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1502, allocations: 0 / 0.5638 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1503, allocations: 40.06 kB / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1506, allocations: 20.05 kB / 0.5638 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1527, allocations: 1.723 MB / 0.5655 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.1531, allocations: 0.7119 MB / 0.5662 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.327e-05/0.1532, allocations: 20.66 kB / 0.5662 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.1532, allocations: 35.42 kB / 0.5662 GB, free: 10.81 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1532, allocations: 3.938 kB / 0.5662 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.1727, allocations: 3.223 MB / 0.5694 GB, free: 7.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.051, allocations: 8.047 kB / 0.5694 GB, free: 7.637 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.057191558997147]