Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001259/0.001259, allocations: 120 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.001577/0.001577, allocations: 218.3 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.422/1.422, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2154/0.2154, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 79.88 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1181, allocations: 66.04 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002804/0.1209, allocations: 1.613 MB / 0.5578 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.1219, allocations: 0.5449 MB / 0.5583 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.1219, allocations: 0 / 0.5583 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1222, allocations: 75.72 kB / 0.5584 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1224, allocations: 107.6 kB / 0.5585 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1227, allocations: 91.69 kB / 0.5586 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1228, allocations: 83.75 kB / 0.5586 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.1229, allocations: 11.98 kB / 0.5586 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.304e-05/0.123, allocations: 43.78 kB / 0.5587 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.1231, allocations: 55.81 kB / 0.5587 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1231, allocations: 0 / 0.5587 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.1232, allocations: 47.98 kB / 0.5588 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.1232, allocations: 23.88 kB / 0.5588 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.1233, allocations: 35.72 kB / 0.5588 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1234, allocations: 95.59 kB / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1234, allocations: 0 / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1234, allocations: 0 / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.1234, allocations: 0 / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004809/0.1239, allocations: 418.7 kB / 0.5593 GB, free: 2.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.124, allocations: 12.03 kB / 0.5593 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.248e-05/0.124, allocations: 4.188 kB / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.124, allocations: 38.75 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.124, allocations: 12.84 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1242, allocations: 196.2 kB / 0.5596 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1242, allocations: 8.312 kB / 0.5596 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1243, allocations: 8.359 kB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1244, allocations: 53.98 kB / 0.5596 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1244, allocations: 3.938 kB / 0.5597 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1244, allocations: 4 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1244, allocations: 0 / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.595e-05/0.1245, allocations: 27.98 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.1249, allocations: 296.8 kB / 0.56 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.125, allocations: 46.48 kB / 0.56 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.1251, allocations: 16.86 kB / 0.56 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1251, allocations: 0 / 0.56 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1251, allocations: 34.56 kB / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1251, allocations: 0 / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008627/0.126, allocations: 225.3 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.126, allocations: 51.41 kB / 0.5603 GB, free: 1.078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1262, allocations: 203.3 kB / 0.5605 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1263, allocations: 29.7 kB / 0.5605 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.1263, allocations: 104.1 kB / 0.5606 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1264, allocations: 31.81 kB / 0.5607 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1264, allocations: 17.72 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1265, allocations: 326.8 kB / 0.561 GB, free: 348 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.1266, allocations: 31.97 kB / 0.561 GB, free: 316 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.1267, allocations: 23.98 kB / 0.5611 GB, free: 292 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1268, allocations: 64.77 kB / 0.5611 GB, free: 224 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1268, allocations: 0 / 0.5611 GB, free: 224 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002402/0.1271, allocations: 97.62 kB / 0.5612 GB, free: 120 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1271, allocations: 4 kB / 0.5612 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1271, allocations: 0 / 0.5612 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1271, allocations: 0 / 0.5612 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.1272, allocations: 23.98 kB / 0.5612 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1272, allocations: 3.938 kB / 0.5612 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.1273, allocations: 11.92 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1273, allocations: 3.938 kB / 0.5613 GB, free: 72 kB / 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 (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.0001211/0.1274, allocations: 133.8 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.1274, allocations: 11.91 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.1277, allocations: 111 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1277, allocations: 7.984 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1277, allocations: 0 / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1277, allocations: 7.938 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.1282, allocations: 399.7 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1282, allocations: 4 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.1283, allocations: 23.92 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1283, allocations: 4.391 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1283, allocations: 4 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1283, allocations: 4 kB / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1283, allocations: 0 / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1286, allocations: 204.3 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1286, allocations: 89.05 kB / 0.5622 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1287, allocations: 11.94 kB / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.1287, allocations: 7.984 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.1288, allocations: 7.938 kB / 0.5622 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.1288, allocations: 0 / 0.5622 GB, free: 14.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1289, allocations: 156.9 kB / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1289, allocations: 0 / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1292, allocations: 19.94 kB / 0.5624 GB, free: 14.77 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.002126/0.1313, allocations: 1.09 MB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1315, allocations: 63.89 kB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1315, allocations: 0 / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.1316, allocations: 31.92 kB / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.132, allocations: 19.98 kB / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1339, allocations: 1.636 MB / 0.5652 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1342, allocations: 0.7119 MB / 0.5659 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.1343, allocations: 16.97 kB / 0.5659 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.1344, allocations: 31.42 kB / 0.5659 GB, free: 11.2 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1344, allocations: 0 / 0.5659 GB, free: 11.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.153, allocations: 3.108 MB / 0.569 GB, free: 8.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.152, allocations: 7.984 kB / 0.569 GB, free: 8.141 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.131224984012078]