Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0009048/0.0009048, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001641/0.001641, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9527/0.9527, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2661/0.2661, allocations: 32.8 MB / 293.5 MB, free: 1.219 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.067e-05, allocations: 6.219 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002157/0.002178, allocations: 1.597 MB / 441.2 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000754/0.002932, allocations: 0.5453 MB / 441.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.00299, allocations: 0 / 441.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.003203, allocations: 35.72 kB / 441.8 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.003441, allocations: 71.58 kB / 441.9 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.003666, allocations: 94.31 kB / 441.9 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.003806, allocations: 79.75 kB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.003902, allocations: 7.984 kB / 442 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.003963, allocations: 35.92 kB / 442.1 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.004034, allocations: 31.89 kB / 442.1 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.004048, allocations: 4 kB / 442.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.004183, allocations: 99.81 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.004225, allocations: 8 kB / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.004255, allocations: 23.84 kB / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.004471, allocations: 163.4 kB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.004474, allocations: 0 / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004475, allocations: 0 / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.004479, allocations: 0 / 442.4 MB, free: 1.426 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003905/0.00487, allocations: 333.6 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.004909, allocations: 8.031 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.004938, allocations: 46.69 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.004968, allocations: 8.891 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.00512, allocations: 129.7 kB / 442.9 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.005129, allocations: 4.375 kB / 442.9 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.005148, allocations: 4.375 kB / 442.9 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.00528, allocations: 97.59 kB / 443 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.00529, allocations: 192 / 443 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.005299, allocations: 3.938 kB / 443 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005305, allocations: 4 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.005364, allocations: 31.97 kB / 443 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.005765, allocations: 267.9 kB / 443.3 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.925e-05/0.005854, allocations: 58.48 kB / 443.4 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.00589, allocations: 24.97 kB / 443.4 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.005912, allocations: 0 / 443.4 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.005934, allocations: 38.56 kB / 443.4 MB, free: 248 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.005935, allocations: 0 / 443.4 MB, free: 248 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004698/0.006405, allocations: 185.6 kB / 443.6 MB, free: 56 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1696/0.176, allocations: 77.11 kB / 443.7 MB, free: 46.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1762, allocations: 157.7 kB / 443.8 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1762, allocations: 26.83 kB / 443.9 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.1762, allocations: 97.7 kB / 444 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1762, allocations: 19.05 kB / 444 MB, free: 46.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1763, allocations: 25.81 kB / 444 MB, free: 46.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.1763, allocations: 324.7 kB / 444.3 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.1764, allocations: 35.81 kB / 444.4 MB, free: 45.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.1765, allocations: 71.48 kB / 444.4 MB, free: 45.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1766, allocations: 79.16 kB / 444.5 MB, free: 45.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1766, allocations: 0 / 444.5 MB, free: 45.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001904/0.1768, allocations: 110.6 kB / 444.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1768, allocations: 8.188 kB / 444.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1768, allocations: 0 / 444.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1768, allocations: 2.594 kB / 444.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1769, allocations: 20.11 kB / 444.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1769, allocations: 2.031 kB / 444.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.177, allocations: 12.44 kB / 444.7 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.177, allocations: 0.5625 kB / 444.7 MB, free: 45.7 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 (9): * Single equations (assignments): 9 * 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 6.177e-05/0.177, allocations: 121.8 kB / 444.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.1771, allocations: 15.47 kB / 444.8 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.1773, allocations: 119.1 kB / 444.9 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1773, allocations: 3.938 kB / 444.9 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1773, allocations: 1 kB / 444.9 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1773, allocations: 2.844 kB / 444.9 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.1777, allocations: 369.5 kB / 445.3 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1777, allocations: 0 / 445.3 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.1777, allocations: 17.98 kB / 445.3 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1777, allocations: 0 / 445.3 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1777, allocations: 0 / 445.3 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1777, allocations: 0 / 445.3 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1777, allocations: 2.938 kB / 445.3 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1778, allocations: 202.1 kB / 445.5 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.1778, allocations: 11.11 kB / 445.5 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1779, allocations: 1.75 kB / 445.5 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.16e-05/0.1779, allocations: 11.06 kB / 445.5 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.1779, allocations: 3.188 kB / 445.5 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1779, allocations: 5.219 kB / 445.5 MB, free: 45.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.178, allocations: 123 kB / 445.6 MB, free: 45.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.178, allocations: 0 / 445.6 MB, free: 45.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.1782, allocations: 41.69 kB / 445.7 MB, free: 45.07 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.001028/0.1792, allocations: 1.172 MB / 446.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1794, allocations: 69.64 kB / 446.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1794, allocations: 3.25 kB / 446.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.1794, allocations: 37.69 kB / 447 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1797, allocations: 12.45 kB / 447 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009898/0.1807, allocations: 1.576 MB / 448.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.136e-05/0.1807, allocations: 85.47 kB / 448.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.1808, allocations: 22.41 kB / 448.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.1809, allocations: 32.81 kB / 448.7 MB, free: 43 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1809, allocations: 2.906 kB / 448.7 MB, free: 43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.1982, allocations: 4.316 MB / 453 MB, free: 41.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/6.968, allocations: 13.84 kB / 453 MB, free: 41.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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: 9.072731575928628]