Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9037/0.9037, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2628/0.2628, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.015e-05, allocations: 7.828 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002225/0.002245, allocations: 1.618 MB / 441.2 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003449, allocations: 1.247 MB / 442.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.003509, allocations: 0 / 442.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.003735, allocations: 27.78 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.004039, allocations: 83.55 kB / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.004279, allocations: 91.64 kB / 442.7 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.004422, allocations: 75.83 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.004521, allocations: 11.98 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.004582, allocations: 43.83 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.004692, allocations: 31.91 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.004708, allocations: 11.94 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.00485, allocations: 91.81 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.0049, allocations: 19.92 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.004927, allocations: 11.94 kB / 443 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.005142, allocations: 151.6 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005144, allocations: 0 / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005144, allocations: 0 / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005149, allocations: 0 / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004064/0.005555, allocations: 353.4 kB / 443.4 MB, free: 360 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005592, allocations: 12.03 kB / 443.5 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.005623, allocations: 34.75 kB / 443.5 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.005656, allocations: 8.891 kB / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.005808, allocations: 133.7 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.005817, allocations: 4.375 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.00584, allocations: 4.375 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.00598, allocations: 97.66 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.00599, allocations: 192 / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.006001, allocations: 3.938 kB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.006006, allocations: 4 kB / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2199/0.2259, allocations: 34.83 kB / 443.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.2262, allocations: 260.7 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.2263, allocations: 48.89 kB / 444.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.2264, allocations: 23.61 kB / 444.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.2264, allocations: 0.5625 kB / 444.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2264, allocations: 34.53 kB / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.2264, allocations: 0 / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004946/0.2269, allocations: 180.4 kB / 444.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.227, allocations: 82.42 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2271, allocations: 156.8 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.2271, allocations: 26.77 kB / 444.6 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.2271, allocations: 99.02 kB / 444.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.2271, allocations: 25.39 kB / 444.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.2272, allocations: 26.25 kB / 444.7 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.2272, allocations: 325.5 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.2273, allocations: 21.38 kB / 445.1 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.2273, allocations: 71.7 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.071e-05/0.2274, allocations: 65.92 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.2274, allocations: 0 / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001133/0.2275, allocations: 108 kB / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2275, allocations: 2.844 kB / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2275, allocations: 2.844 kB / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2275, allocations: 0 / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.2276, allocations: 17.58 kB / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2276, allocations: 0 / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.2276, allocations: 12.8 kB / 445.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.2276, allocations: 3.062 kB / 445.3 MB, free: 45.54 MB / 410.7 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 5.181e-05/0.2277, allocations: 122.6 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.2277, allocations: 6.891 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.2279, allocations: 116.4 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2279, allocations: 0 / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2279, allocations: 1.5 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2279, allocations: 0 / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.2282, allocations: 357 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2282, allocations: 0 / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.2282, allocations: 19.41 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2282, allocations: 0 / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2282, allocations: 5.562 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2282, allocations: 3.234 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2282, allocations: 13.39 kB / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2284, allocations: 189.6 kB / 446.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.2284, allocations: 9.984 kB / 446.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2284, allocations: 8.141 kB / 446.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.2284, allocations: 3.781 kB / 446.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.2285, allocations: 18.17 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.2285, allocations: 0 / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.291e-05/0.2285, allocations: 118.1 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2285, allocations: 5.031 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.2287, allocations: 40.31 kB / 446.4 MB, free: 44.88 MB / 410.7 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 (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.001071/0.2298, allocations: 1.157 MB / 447.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.2299, allocations: 61.94 kB / 447.6 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2299, allocations: 0 / 447.6 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.23, allocations: 38.67 kB / 447.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2303, allocations: 24.91 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000988/0.2313, allocations: 1.513 MB / 449.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.2313, allocations: 92.12 kB / 449.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.2314, allocations: 16.81 kB / 449.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.2314, allocations: 31.69 kB / 449.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2314, allocations: 0 / 449.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.2511, allocations: 4.183 MB / 453.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.918, allocations: 10.75 kB / 453.5 MB, free: 41.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 8.936067813076079]