Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001311/0.001311, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001396/0.001396, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.392/1.392, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2217/0.2217, allocations: 46.94 MB / 360.8 MB, free: 3.953 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 75.88 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3339, allocations: 66.1 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003005/0.3369, allocations: 1.582 MB / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.3387, allocations: 1.235 MB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.3388, allocations: 3.938 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.339, allocations: 23.84 kB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.3393, allocations: 95.55 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3396, allocations: 111.1 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3397, allocations: 63.84 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3398, allocations: 13.81 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.3399, allocations: 35.78 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.34, allocations: 27.86 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.34, allocations: 4 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.3402, allocations: 91.94 kB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.3402, allocations: 15.92 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.3403, allocations: 19.86 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.3405, allocations: 139.5 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3405, allocations: 0 / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3405, allocations: 0 / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3405, allocations: 3.984 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004903/0.341, allocations: 325.7 kB / 0.5644 GB, free: 240 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.341, allocations: 12.03 kB / 0.5644 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.3411, allocations: 34.75 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3411, allocations: 8.891 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3413, allocations: 146.3 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.3413, allocations: 8.391 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3414, allocations: 384 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3415, allocations: 93.66 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3416, allocations: 3.938 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.3416, allocations: 0 / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3416, allocations: 0 / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.142e-05/0.3417, allocations: 27.98 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.3421, allocations: 255.9 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3422, allocations: 38.56 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.3423, allocations: 20.94 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3423, allocations: 0 / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3423, allocations: 30.56 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.3423, allocations: 4 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005591/0.3429, allocations: 153.4 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.343, allocations: 77.11 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3431, allocations: 148 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3431, allocations: 25.7 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3432, allocations: 100 kB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.3432, allocations: 15.86 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.3433, allocations: 21.7 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3434, allocations: 322.8 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.3435, allocations: 23.97 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.3436, allocations: 59.41 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3437, allocations: 52.83 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3437, allocations: 0 / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.3439, allocations: 89.61 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3439, allocations: 4 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3439, allocations: 0 / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.344, allocations: 3.938 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.344, allocations: 23.95 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.344, allocations: 0 / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.3441, allocations: 4.25 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.3441, allocations: 4 kB / 0.5661 GB, free: 14.26 MB / 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 (5): * Single equations (assignments): 5 * 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.0001009/0.3442, allocations: 121.8 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.3442, allocations: 7.953 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.3445, allocations: 97.97 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3445, allocations: 0 / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3445, allocations: 4 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3445, allocations: 3.984 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.3449, allocations: 325.5 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3449, allocations: 0 / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.345, allocations: 15.98 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.345, allocations: 3.938 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.345, allocations: 4 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.345, allocations: 0 / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.345, allocations: 4.219 kB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3453, allocations: 191.4 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.3453, allocations: 7.938 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3453, allocations: 0 / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.3454, allocations: 11.98 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.3454, allocations: 7.938 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.3454, allocations: 0 / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3455, allocations: 117.4 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3455, allocations: 0 / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.3458, allocations: 35.88 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002251/0.3481, allocations: 1.133 MB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3483, allocations: 51.95 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3483, allocations: 0 / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.3483, allocations: 31.86 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3487, allocations: 29.92 kB / 0.5683 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3504, allocations: 1.448 MB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.41e-05/0.3505, allocations: 79.08 kB / 0.5698 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.462e-05/0.3506, allocations: 19.98 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.3506, allocations: 31.42 kB / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3506, allocations: 0 / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.3821, allocations: 3.85 MB / 0.5736 GB, free: 6.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.09, allocations: 13.56 kB / 0.5736 GB, free: 6.613 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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: 13.983906842302531]