Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.0008011/0.000801, allocations: 92.7 kB / 17.35 MB, free: 6.371 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.0008378/0.0008378, allocations: 172.1 kB / 18.25 MB, free: 5.523 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.148/1.148, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1568/0.1568, allocations: 44.26 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002613, allocations: 9.031 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08766/0.08793, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001562/0.08953, allocations: 1.297 MB / 473.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.09018, allocations: 391.4 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.09022, allocations: 4 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.09045, allocations: 67.83 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.09058, allocations: 51.88 kB / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.09079, allocations: 87.41 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.09092, allocations: 67.83 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.128e-05/0.091, allocations: 12.19 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.09106, allocations: 35.83 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.09115, allocations: 35.91 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.09117, allocations: 0 / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.09125, allocations: 43.97 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.0913, allocations: 15.94 kB / 474.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.09135, allocations: 53.44 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.09149, allocations: 99.92 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.0915, allocations: 3.938 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09151, allocations: 0 / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.09151, allocations: 0 / 474.6 MB, free: 11 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.0003495/0.09187, allocations: 383.2 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.09191, allocations: 12.03 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.09195, allocations: 42.73 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.09198, allocations: 8.844 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.09213, allocations: 192.1 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.09215, allocations: 4.375 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.09217, allocations: 8.109 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.0923, allocations: 57.62 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.09232, allocations: 0 / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.09233, allocations: 0 / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.09234, allocations: 4 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.09244, allocations: 35.97 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.09274, allocations: 284.8 kB / 475.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.09285, allocations: 58.48 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.0929, allocations: 16.86 kB / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.09293, allocations: 0 / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.09295, allocations: 38.5 kB / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.09296, allocations: 0 / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007759/0.09374, allocations: 257.2 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.09377, allocations: 55.34 kB / 476 MB, free: 9.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.09394, allocations: 197.9 kB / 476.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.09396, allocations: 25.7 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.09401, allocations: 104.1 kB / 476.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.09404, allocations: 23.56 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.09407, allocations: 17.7 kB / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.09416, allocations: 322.8 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.09424, allocations: 31.97 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.09432, allocations: 31.92 kB / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.09446, allocations: 68.83 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.09447, allocations: 0 / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001932/0.09467, allocations: 105.6 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.09469, allocations: 4 kB / 476.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.0947, allocations: 0 / 476.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.09472, allocations: 4 kB / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.09481, allocations: 19.98 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.09482, allocations: 7.875 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.09487, allocations: 7.984 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.09488, allocations: 4.422 kB / 477 MB, free: 8.387 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 7.372e-05/0.09496, allocations: 121.8 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.09499, allocations: 7.906 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.09524, allocations: 126.3 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.09525, allocations: 7.984 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.09526, allocations: 7.875 kB / 477.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.09527, allocations: 0 / 477.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.0957, allocations: 411.6 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.09572, allocations: 3.938 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.09579, allocations: 23.92 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.0958, allocations: 3.938 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.09581, allocations: 8 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.09582, allocations: 4.109 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.09583, allocations: 3.984 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.09606, allocations: 204.3 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.0961, allocations: 92.95 kB / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.09613, allocations: 4 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.0962, allocations: 11.98 kB / 478 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.09624, allocations: 7.938 kB / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.09625, allocations: 4 kB / 478 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.623e-05/0.09635, allocations: 143.2 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09636, allocations: 0 / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.09659, allocations: 24 kB / 478.2 MB, free: 7.078 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.001252/0.09785, allocations: 1.092 MB / 479.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.09807, allocations: 79.89 kB / 479.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.09808, allocations: 3.938 kB / 479.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.09817, allocations: 43.91 kB / 479.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.09846, allocations: 15.98 kB / 479.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.09995, allocations: 1.643 MB / 481.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1002, allocations: 0.7004 MB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.506e-05/0.1002, allocations: 16.95 kB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.1003, allocations: 31.42 kB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1003, allocations: 0 / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.295/1.395, allocations: 2.543 MB / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/1.396, allocations: 235.8 kB / 484.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/3.241, allocations: 0 / 484.6 MB, free: 0.8008 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches