Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001418/0.001418, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001611/0.001611, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 65.62 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.004556/0.133, allocations: 1.591 MB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.134, allocations: 403.2 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.1341, allocations: 0 / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.1345, allocations: 79.7 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.1349, allocations: 63.8 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1352, allocations: 90.56 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1354, allocations: 75.89 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1355, allocations: 12.19 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.1356, allocations: 35.83 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1357, allocations: 55.81 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1357, allocations: 4 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1358, allocations: 43.94 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.1359, allocations: 19.98 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.136, allocations: 35.72 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1362, allocations: 99.94 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1362, allocations: 3.938 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1362, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1362, allocations: 0 / 471.9 MB, free: 11.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005194/0.1367, allocations: 403 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1368, allocations: 8.031 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.1368, allocations: 34.69 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1369, allocations: 16.83 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1371, allocations: 196.1 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1371, allocations: 384 / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1372, allocations: 16.03 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1374, allocations: 49.67 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1374, allocations: 0 / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1374, allocations: 4 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1374, allocations: 0 / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1375, allocations: 23.97 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.138, allocations: 300.7 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1382, allocations: 38.56 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.1382, allocations: 20.94 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1383, allocations: 0 / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1383, allocations: 38.5 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1383, allocations: 0 / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009569/0.1393, allocations: 217.6 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1393, allocations: 55.34 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1395, allocations: 214.2 kB / 473.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1395, allocations: 25.7 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.1396, allocations: 108 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1396, allocations: 23.64 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1397, allocations: 21.72 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1398, allocations: 322.8 kB / 474 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.1399, allocations: 23.98 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.1399, allocations: 27.98 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1401, allocations: 56.83 kB / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1401, allocations: 4 kB / 474.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002051/0.1403, allocations: 113.3 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1403, allocations: 4 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1404, allocations: 0 / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1404, allocations: 4 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1405, allocations: 19.98 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1405, allocations: 3.938 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.1406, allocations: 8 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1406, allocations: 0 / 474.3 MB, free: 9.074 MB / 350.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 9.716e-05/0.1407, allocations: 129.8 kB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1407, allocations: 15.83 kB / 474.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.141, allocations: 122.6 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.141, allocations: 4 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.141, allocations: 3.938 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1411, allocations: 0 / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.1416, allocations: 403.2 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1416, allocations: 7.938 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.1417, allocations: 16.03 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1417, allocations: 0 / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1417, allocations: 7.984 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1417, allocations: 0 / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1417, allocations: 0 / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1419, allocations: 196.2 kB / 475.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.142, allocations: 96.94 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.142, allocations: 4 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.1421, allocations: 4 kB / 475.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1421, allocations: 7.984 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1422, allocations: 0 / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1423, allocations: 155.2 kB / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1423, allocations: 0 / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1425, allocations: 20 kB / 475.5 MB, free: 7.793 MB / 350.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.001461/0.144, allocations: 1.094 MB / 476.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1443, allocations: 71.89 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1443, allocations: 0 / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.1444, allocations: 35.98 kB / 476.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1448, allocations: 27.55 kB / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1466, allocations: 1.617 MB / 478.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1469, allocations: 0.7119 MB / 479 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.147, allocations: 12.66 kB / 479 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.1471, allocations: 35.42 kB / 479.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1471, allocations: 0 / 479.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.17, allocations: 2.943 MB / 482 MB, free: 1.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.307, allocations: 7.922 kB / 482 MB, free: 1.344 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches