Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007591/0.0007591, allocations: 96.73 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008625/0.0008625, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1995/0.1995, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002682, allocations: 8.375 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001895/0.118, allocations: 1.322 MB / 484.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1198, allocations: 1.124 MB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.1199, allocations: 7.938 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.1201, allocations: 23.91 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1204, allocations: 67.81 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1207, allocations: 103.8 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1208, allocations: 59.84 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.1209, allocations: 12 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.766e-05/0.1209, allocations: 31.8 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1211, allocations: 27.84 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1211, allocations: 4 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.1213, allocations: 91.92 kB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.1213, allocations: 11.94 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.1214, allocations: 53.48 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1216, allocations: 128 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1216, allocations: 0 / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1216, allocations: 0 / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1216, allocations: 0 / 486.2 MB, free: 0.9805 MB / 350.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.0004321/0.1221, allocations: 395.3 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1221, allocations: 8.875 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.1221, allocations: 34.75 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.1222, allocations: 4.844 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1224, allocations: 200.1 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1224, allocations: 384 / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1224, allocations: 8.375 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1226, allocations: 67.33 kB / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1226, allocations: 0 / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1226, allocations: 4 kB / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1226, allocations: 0 / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.1227, allocations: 27.97 kB / 487 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.1231, allocations: 296.7 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1233, allocations: 46.56 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.1234, allocations: 20.94 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1234, allocations: 0 / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1234, allocations: 34.56 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1234, allocations: 0 / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005532/0.124, allocations: 173.5 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.124, allocations: 77.11 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1242, allocations: 145.7 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1242, allocations: 25.7 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.1243, allocations: 100.1 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.1243, allocations: 15.81 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.1243, allocations: 13.66 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1244, allocations: 326.8 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.1245, allocations: 23.98 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.1246, allocations: 37.7 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1248, allocations: 69.03 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1248, allocations: 3.938 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002087/0.125, allocations: 93.67 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.125, allocations: 4 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.125, allocations: 0 / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.125, allocations: 7.984 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.1251, allocations: 19.92 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1251, allocations: 0 / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.1252, allocations: 15.92 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1252, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.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 8.166e-05/0.1253, allocations: 113.8 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1253, allocations: 7.906 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.1256, allocations: 113.9 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1256, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1256, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1256, allocations: 3.938 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.126, allocations: 374.5 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.126, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.1261, allocations: 15.98 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1261, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1261, allocations: 3.938 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1261, allocations: 4 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1261, allocations: 4 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1264, allocations: 191.5 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1264, allocations: 85.02 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1265, allocations: 11.98 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.1266, allocations: 16 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.1266, allocations: 0 / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.1266, allocations: 0 / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.1267, allocations: 121.5 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1267, allocations: 0 / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.127, allocations: 35.98 kB / 489.6 MB, free: 13.29 MB / 366.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.001405/0.1284, allocations: 1.103 MB / 490.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1286, allocations: 67.89 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1286, allocations: 3.938 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.1287, allocations: 27.98 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.129, allocations: 19.97 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1305, allocations: 1.486 MB / 492.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1308, allocations: 0.6887 MB / 493 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.966e-05/0.1309, allocations: 19.92 kB / 493 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.1309, allocations: 23.42 kB / 493 MB, free: 9.891 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1309, allocations: 0 / 493 MB, free: 9.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.145, allocations: 2.819 MB / 495.8 MB, free: 7.191 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.1453, allocations: 243.6 kB / 496.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/1.901, allocations: 0 / 496.1 MB, free: 6.93 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches