Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0008375/0.0008375, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003539/0.003539, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.9042/0.9042, allocations: 177.1 MB / 205 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.3009/0.3009, allocations: 32.79 MB / 294.2 MB, free: 1.18 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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 440.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.468e-05, allocations: 2.281 kB / 440.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002964/0.002999, allocations: 1.651 MB / 442.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.004457, allocations: 1.246 MB / 443.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.00454, allocations: 4 kB / 443.8 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.004796, allocations: 27.78 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.00524, allocations: 87.55 kB / 443.9 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.005612, allocations: 133.9 kB / 444 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.005794, allocations: 71.78 kB / 444.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.00593, allocations: 11.98 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.006004, allocations: 35.91 kB / 444.1 MB, free: 416 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.006125, allocations: 35.83 kB / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.006144, allocations: 7.938 kB / 444.2 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.006348, allocations: 91.83 kB / 444.3 MB, free: 280 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.006434, allocations: 19.91 kB / 444.3 MB, free: 260 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.006464, allocations: 15.94 kB / 444.3 MB, free: 244 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.006744, allocations: 155.6 kB / 444.5 MB, free: 88 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.006749, allocations: 0 / 444.5 MB, free: 88 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.006752, allocations: 0 / 444.5 MB, free: 88 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.006759, allocations: 0 / 444.5 MB, free: 88 kB / 410.7 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.2082/0.2149, allocations: 339.6 kB / 444.8 MB, free: 46.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.215, allocations: 9.219 kB / 444.8 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.215, allocations: 8.016 kB / 444.8 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.2152, allocations: 136.4 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.2152, allocations: 1.812 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.2152, allocations: 3.562 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2154, allocations: 106 kB / 445 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2154, allocations: 192 / 445 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2154, allocations: 1.5 kB / 445 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2154, allocations: 3.156 kB / 445 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.2155, allocations: 44.05 kB / 445.1 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.2158, allocations: 227.9 kB / 445.3 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2159, allocations: 45.08 kB / 445.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.216, allocations: 20.02 kB / 445.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.216, allocations: 3.562 kB / 445.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.216, allocations: 37.72 kB / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.684e-06/0.216, allocations: 0 / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005762/0.2166, allocations: 216 kB / 445.6 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.2166, allocations: 80.2 kB / 445.7 MB, free: 46.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2167, allocations: 146.8 kB / 445.9 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.2167, allocations: 26.39 kB / 445.9 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.2168, allocations: 97.23 kB / 446 MB, free: 45.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2168, allocations: 25.59 kB / 446 MB, free: 45.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.2168, allocations: 22.67 kB / 446 MB, free: 45.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.2169, allocations: 321.2 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.2169, allocations: 30.02 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.217, allocations: 76.8 kB / 446.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2171, allocations: 80.97 kB / 446.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2171, allocations: 3.938 kB / 446.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001415/0.2172, allocations: 111.2 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2172, allocations: 5.375 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2173, allocations: 0 / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2173, allocations: 0 / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.2174, allocations: 27.67 kB / 446.7 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2174, allocations: 3.469 kB / 446.7 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.2174, allocations: 8.625 kB / 446.7 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.2174, allocations: 3.688 kB / 446.7 MB, free: 45.47 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 (7): * Single equations (assignments): 7 * 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.009e-05/0.2175, allocations: 122.6 kB / 446.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.2175, allocations: 14.38 kB / 446.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.2177, allocations: 130.5 kB / 446.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2177, allocations: 0 / 446.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2177, allocations: 0 / 446.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2177, allocations: 5.859 kB / 446.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.218, allocations: 333.8 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.218, allocations: 0 / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.218, allocations: 21.17 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.218, allocations: 3 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.218, allocations: 3.281 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2181, allocations: 0 / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2181, allocations: 0.5938 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.2182, allocations: 219.3 kB / 447.5 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.2182, allocations: 6.922 kB / 447.5 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2182, allocations: 2.875 kB / 447.5 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.2183, allocations: 13.03 kB / 447.5 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.2183, allocations: 10.12 kB / 447.5 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2183, allocations: 0 / 447.5 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.2184, allocations: 117.6 kB / 447.7 MB, free: 44.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2184, allocations: 0 / 447.7 MB, free: 44.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.2186, allocations: 41.28 kB / 447.7 MB, free: 44.8 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 (7): * Single equations (assignments): 7 * 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.0008797/0.2195, allocations: 0.5313 MB / 448.2 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.2196, allocations: 67.58 kB / 448.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2197, allocations: 2.938 kB / 448.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.2197, allocations: 47.78 kB / 448.3 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.22, allocations: 19.59 kB / 448.4 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.2204, allocations: 223.3 kB / 448.6 MB, free: 44.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.2204, allocations: 75.58 kB / 448.7 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.2205, allocations: 20.11 kB / 448.7 MB, free: 44.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2205, allocations: 6.406 kB / 448.7 MB, free: 44.36 MB / 410.7 MB Notification: Performance of Templates: time 0.002955/0.2235, allocations: 2.137 MB / 450.8 MB, free: 44.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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: 5.050089753232896]