Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.11 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 76.77 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 62.44 MB / 480.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003757/0.1144, allocations: 1.685 MB / 481.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1157, allocations: 0.5532 MB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.1158, allocations: 4 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.1162, allocations: 67.7 kB / 482.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.1168, allocations: 103.6 kB / 482.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.1173, allocations: 143.1 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.1175, allocations: 83.81 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1177, allocations: 20.23 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1178, allocations: 39.83 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.118, allocations: 63.75 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.1181, allocations: 4 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1182, allocations: 47.98 kB / 482.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1184, allocations: 23.92 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.1184, allocations: 43.66 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1187, allocations: 123.9 kB / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1188, allocations: 0 / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1188, allocations: 0 / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1188, allocations: 0 / 483.1 MB, free: 2.137 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006904/0.1195, allocations: 426.9 kB / 483.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1195, allocations: 8.031 kB / 483.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.1196, allocations: 50.61 kB / 483.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.1197, allocations: 12.75 kB / 483.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1199, allocations: 200.1 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1199, allocations: 4.375 kB / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1199, allocations: 4.375 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1201, allocations: 65.61 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1202, allocations: 3.984 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1202, allocations: 4 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1202, allocations: 3.938 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.1203, allocations: 43.95 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.1208, allocations: 308.7 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1211, allocations: 70.58 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.1212, allocations: 24.97 kB / 484.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1213, allocations: 0 / 484.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1213, allocations: 38.5 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.1213, allocations: 0 / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001733/0.123, allocations: 401.1 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.1231, allocations: 51.41 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1235, allocations: 218.3 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1235, allocations: 29.7 kB / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1237, allocations: 116 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.1237, allocations: 35.45 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.1238, allocations: 29.66 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.124, allocations: 326.8 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1241, allocations: 39.97 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1242, allocations: 52 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.1245, allocations: 100.8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1245, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003657/0.1249, allocations: 141.5 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1249, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1249, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.125, allocations: 11.88 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1251, allocations: 23.98 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1251, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.1252, allocations: 7.984 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.1252, allocations: 7.984 kB / 485.9 MB, free: 15.09 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 (11): * Single equations (assignments): 11 * 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.0001692/0.1254, allocations: 129.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.1255, allocations: 15.81 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.1259, allocations: 167 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1259, allocations: 3.938 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.126, allocations: 0 / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.126, allocations: 0 / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/0.1268, allocations: 491.8 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1268, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1269, allocations: 27.97 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.1269, allocations: 4 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1269, allocations: 4 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1269, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.127, allocations: 4 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.1274, allocations: 257 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1275, allocations: 93.02 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1275, allocations: 4.172 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1276, allocations: 12 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.1277, allocations: 15.98 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1277, allocations: 4 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1279, allocations: 172.8 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1279, allocations: 0 / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1282, allocations: 27.94 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001775/0.13, allocations: 1.131 MB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.1303, allocations: 111.9 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1304, allocations: 0 / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.1305, allocations: 59.91 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1309, allocations: 16.11 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.1335, allocations: 1.878 MB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1338, allocations: 0.7119 MB / 491.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.675e-05/0.1339, allocations: 20.53 kB / 491.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.625e-05/0.134, allocations: 39.42 kB / 491.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.134, allocations: 0 / 491.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.1542, allocations: 3.402 MB / 494.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.056, allocations: 15.86 kB / 494.7 MB, free: 6.273 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches