Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001453, allocations: 103.8 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 196.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3471/0.3471, allocations: 43.5 MB / 313.6 MB, free: 8.547 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 68.45 kB / 382.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1175, allocations: 57.78 MB / 440.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.003863/0.1214, allocations: 1.61 MB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1232, allocations: 0.9298 MB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.1233, allocations: 0 / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1235, allocations: 19.92 kB / 442.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.1238, allocations: 35.84 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1242, allocations: 83.89 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1243, allocations: 55.84 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1245, allocations: 24.25 kB / 442.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.1245, allocations: 19.88 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1247, allocations: 27.89 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.1248, allocations: 4 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1249, allocations: 59.84 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.125, allocations: 8 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.125, allocations: 19.86 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1252, allocations: 95.7 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1253, allocations: 0 / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1253, allocations: 0 / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1253, allocations: 7.938 kB / 443.1 MB, free: 11.64 MB / 382.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.0005708/0.1259, allocations: 379.2 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1259, allocations: 11.89 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.126, allocations: 34.75 kB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.126, allocations: 0.9375 kB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1262, allocations: 196 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1263, allocations: 8.375 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1263, allocations: 4.359 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1265, allocations: 63.34 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1265, allocations: 0 / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1265, allocations: 8 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1266, allocations: 0 / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1267, allocations: 23.97 kB / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.1271, allocations: 288.8 kB / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1273, allocations: 38.56 kB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1274, allocations: 20.94 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1274, allocations: 0 / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1275, allocations: 30.56 kB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1275, allocations: 0 / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005669/0.128, allocations: 149.4 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1281, allocations: 77.11 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1282, allocations: 137.8 kB / 444.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1283, allocations: 25.7 kB / 444.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.1283, allocations: 92.05 kB / 444.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1283, allocations: 19.78 kB / 444.7 MB, free: 9.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.1284, allocations: 25.72 kB / 444.7 MB, free: 9.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1285, allocations: 314.8 kB / 445 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.1286, allocations: 27.91 kB / 445 MB, free: 9.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.1287, allocations: 37.7 kB / 445.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1288, allocations: 48.83 kB / 445.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1288, allocations: 0 / 445.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.129, allocations: 85.59 kB / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.129, allocations: 11.94 kB / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1291, allocations: 0 / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1291, allocations: 0 / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.1291, allocations: 15.92 kB / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1292, allocations: 4 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.1292, allocations: 4 kB / 445.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1292, allocations: 7.938 kB / 445.2 MB, free: 9.246 MB / 382.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 7.795e-05/0.1293, allocations: 117.8 kB / 445.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.1293, allocations: 4 kB / 445.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1296, allocations: 97.77 kB / 445.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1296, allocations: 3.938 kB / 445.5 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1296, allocations: 4.062 kB / 445.5 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1296, allocations: 0 / 445.5 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.1301, allocations: 358.4 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1301, allocations: 0 / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.1302, allocations: 15.98 kB / 445.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1302, allocations: 0 / 445.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1302, allocations: 0 / 445.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1302, allocations: 3.938 kB / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1302, allocations: 0 / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.1305, allocations: 187.4 kB / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.1306, allocations: 77.11 kB / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1306, allocations: 8 kB / 446.1 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1307, allocations: 7.922 kB / 446.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1308, allocations: 4 kB / 446.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1308, allocations: 288 / 446.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1309, allocations: 103.3 kB / 446.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1309, allocations: 0 / 446.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.1313, allocations: 31.98 kB / 446.2 MB, free: 8.137 MB / 382.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.001999/0.1333, allocations: 1.068 MB / 447.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.1336, allocations: 47.97 kB / 447.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1336, allocations: 0 / 447.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1337, allocations: 35.91 kB / 447.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.1342, allocations: 23.73 kB / 447.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1364, allocations: 1.42 MB / 448.8 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1367, allocations: 0.6923 MB / 449.5 MB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1368, allocations: 15.98 kB / 449.5 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.1369, allocations: 31.36 kB / 449.6 MB, free: 4.719 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1369, allocations: 0 / 449.6 MB, free: 4.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1831/0.32, allocations: 2.571 MB / 452.1 MB, free: 2.117 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/0.3204, allocations: 232.7 kB / 452.4 MB, free: 1.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.443, allocations: 0 / 452.4 MB, free: 1.863 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches