Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001273/0.001273, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.00139/0.00139, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.426/1.426, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2376/0.2376, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 76.22 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1346, allocations: 66.04 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003446/0.138, allocations: 1.636 MB / 0.5578 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1391, allocations: 0.541 MB / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.1392, allocations: 4 kB / 0.5583 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1394, allocations: 87.73 kB / 0.5584 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.1398, allocations: 115.6 kB / 0.5585 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1401, allocations: 91.75 kB / 0.5586 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1403, allocations: 87.75 kB / 0.5587 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1404, allocations: 15.98 kB / 0.5587 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.1405, allocations: 39.78 kB / 0.5587 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1406, allocations: 63.8 kB / 0.5588 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1406, allocations: 0 / 0.5588 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1407, allocations: 47.98 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.1408, allocations: 19.92 kB / 0.5588 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.1408, allocations: 31.73 kB / 0.5589 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.141, allocations: 123.4 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.141, allocations: 0 / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1411, allocations: 0 / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1411, allocations: 0 / 0.559 GB, free: 2.637 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.0006246/0.1417, allocations: 422.7 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1417, allocations: 8.031 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.1417, allocations: 4.188 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.1418, allocations: 34.75 kB / 0.5594 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1418, allocations: 16.78 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1421, allocations: 200.2 kB / 0.5596 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.1421, allocations: 4.375 kB / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1421, allocations: 4.328 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1423, allocations: 69.91 kB / 0.5597 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1423, allocations: 0 / 0.5597 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1423, allocations: 0 / 0.5597 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1423, allocations: 3.938 kB / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.752e-05/0.1424, allocations: 23.98 kB / 0.5597 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1428, allocations: 304.8 kB / 0.56 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1429, allocations: 42.5 kB / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.143, allocations: 12.86 kB / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.143, allocations: 8.078 kB / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.143, allocations: 34.56 kB / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.143, allocations: 4 kB / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009225/0.1439, allocations: 225.3 kB / 0.5604 GB, free: 1.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.144, allocations: 55.41 kB / 0.5604 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.1442, allocations: 226.7 kB / 0.5606 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1443, allocations: 29.7 kB / 0.5606 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1443, allocations: 112.1 kB / 0.5608 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1444, allocations: 23.81 kB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.1444, allocations: 21.7 kB / 0.5608 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1446, allocations: 326.8 kB / 0.5611 GB, free: 240 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.1447, allocations: 31.92 kB / 0.5611 GB, free: 208 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.1447, allocations: 19.98 kB / 0.5612 GB, free: 188 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1449, allocations: 64.83 kB / 0.5612 GB, free: 120 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1449, allocations: 0 / 0.5612 GB, free: 120 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002433/0.1451, allocations: 105.8 kB / 0.5613 GB, free: 8 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1451, allocations: 4 kB / 0.5613 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1452, allocations: 0 / 0.5613 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1452, allocations: 4.422 kB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1453, allocations: 20.05 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1453, allocations: 12 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1453, allocations: 7.938 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1453, allocations: 4 kB / 0.5614 GB, free: 15.95 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.0001053/0.1454, allocations: 130.9 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1455, allocations: 7.953 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.1458, allocations: 130.9 kB / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1458, allocations: 4 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1458, allocations: 4 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1458, allocations: 3.938 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.1463, allocations: 407.2 kB / 0.562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1463, allocations: 0 / 0.562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.1464, allocations: 16 kB / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.1464, allocations: 7.922 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1464, allocations: 4 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1464, allocations: 8.031 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1464, allocations: 0 / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1467, allocations: 204.2 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.1468, allocations: 89 kB / 0.5623 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1468, allocations: 7.938 kB / 0.5624 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1469, allocations: 8 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1469, allocations: 11.98 kB / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1469, allocations: 0 / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1471, allocations: 179.2 kB / 0.5625 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1471, allocations: 0 / 0.5625 GB, free: 14.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1473, allocations: 23.95 kB / 0.5626 GB, free: 14.61 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.002213/0.1495, allocations: 1.088 MB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1498, allocations: 71.92 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1498, allocations: 0 / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/0.1499, allocations: 31.92 kB / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1502, allocations: 26.08 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.1523, allocations: 1.704 MB / 0.5654 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1526, allocations: 0.708 MB / 0.5661 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.1527, allocations: 12.66 kB / 0.5661 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.1527, allocations: 39.42 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1527, allocations: 4 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.1719, allocations: 3.249 MB / 0.5693 GB, free: 7.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.155, allocations: 8.609 kB / 0.5693 GB, free: 7.766 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.289695028041024]