Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.002241/0.002241, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002936/0.002936, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.523/1.523, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 34.27 MB / 294.9 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.777e-05, allocations: 6.219 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003073/0.003101, allocations: 1.619 MB / 444.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.004298, allocations: 0.5414 MB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.004376, allocations: 0 / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000711/0.005087, allocations: 459 kB / 445.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006268/0.005714, allocations: 291.2 kB / 445.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.006259, allocations: 170.4 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.0066, allocations: 171.6 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.006725, allocations: 11.92 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.00696, allocations: 119.8 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.007295, allocations: 243.5 kB / 446.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.007323, allocations: 4 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.00742, allocations: 27.97 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.007542, allocations: 83.72 kB / 446.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.007607, allocations: 31.75 kB / 446.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.00798, allocations: 231.1 kB / 446.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.007986, allocations: 0 / 446.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007987, allocations: 0 / 446.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.007997, allocations: 0 / 446.7 MB, free: 1.426 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009325/0.00893, allocations: 0.5737 MB / 447.2 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.00897, allocations: 8.031 kB / 447.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.617e-05/0.009056, allocations: 48.66 kB / 447.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.009367, allocations: 246 kB / 447.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.009378, allocations: 384 / 447.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.009389, allocations: 4.375 kB / 447.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.009548, allocations: 50.19 kB / 447.6 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.009558, allocations: 192 / 447.6 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.00957, allocations: 8.125 kB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.009578, allocations: 0 / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.932e-05/0.009678, allocations: 23.97 kB / 447.6 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.01018, allocations: 328.5 kB / 447.9 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.01029, allocations: 34.56 kB / 448 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.01035, allocations: 12.86 kB / 448 MB, free: 0 / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2048/0.2152, allocations: 80 / 448 MB, free: 19.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.2152, allocations: 33.09 kB / 448 MB, free: 19.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.2152, allocations: 0 / 448 MB, free: 19.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003773/0.2156, allocations: 108.4 kB / 448.1 MB, free: 19.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.2156, allocations: 54.09 kB / 448.2 MB, free: 19.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.2164, allocations: 0.8625 MB / 449 MB, free: 19.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.2164, allocations: 25.7 kB / 449.1 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2166, allocations: 216.3 kB / 449.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.2166, allocations: 5.281 kB / 449.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.2166, allocations: 15.59 kB / 449.3 MB, free: 19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.2167, allocations: 361.8 kB / 449.6 MB, free: 18.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.2167, allocations: 9.016 kB / 449.6 MB, free: 18.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.2168, allocations: 12.98 kB / 449.7 MB, free: 18.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.2169, allocations: 27.36 kB / 449.7 MB, free: 18.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2169, allocations: 4.406 kB / 449.7 MB, free: 18.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001406/0.217, allocations: 97.61 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.217, allocations: 10.08 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.217, allocations: 1.953 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.217, allocations: 3.75 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.2171, allocations: 5.719 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2171, allocations: 0.5156 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.2172, allocations: 2.828 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.2172, allocations: 3.391 kB / 449.8 MB, free: 18.59 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 (2): * Single equations (assignments): 2 * 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.0001487/0.2173, allocations: 212.8 kB / 450 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.2174, allocations: 47.27 kB / 450.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.2176, allocations: 109.3 kB / 450.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2176, allocations: 0.6094 kB / 450.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2176, allocations: 1.031 kB / 450.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2176, allocations: 0 / 450.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.2178, allocations: 232.1 kB / 450.4 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2178, allocations: 4.938 kB / 450.4 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.2179, allocations: 9.469 kB / 450.4 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2179, allocations: 3.422 kB / 450.4 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2179, allocations: 3.5 kB / 450.4 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2179, allocations: 1.547 kB / 450.4 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2179, allocations: 1 kB / 450.4 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.218, allocations: 186.7 kB / 450.6 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2181, allocations: 41.09 kB / 450.6 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.2181, allocations: 3.734 kB / 450.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.2181, allocations: 3.828 kB / 450.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.2182, allocations: 3.375 kB / 450.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2182, allocations: 1.188 kB / 450.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005392/0.2187, allocations: 0.6534 MB / 451.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2187, allocations: 2.531 kB / 451.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00025/0.219, allocations: 16.61 kB / 451.3 MB, free: 17.79 MB / 366.1 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 (2): * Single equations (assignments): 2 * 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.001282/0.2202, allocations: 375.1 kB / 451.7 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.2204, allocations: 29.44 kB / 451.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2204, allocations: 0 / 451.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.2204, allocations: 14.06 kB / 451.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.2208, allocations: 22.64 kB / 451.8 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.2217, allocations: 0.7926 MB / 452.6 MB, free: 17.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.2219, allocations: 217.1 kB / 452.8 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.222, allocations: 13.97 kB / 452.8 MB, free: 17.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.222, allocations: 13.42 kB / 452.8 MB, free: 17.18 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.222, allocations: 0 / 452.8 MB, free: 17.18 MB / 366.1 MB Notification: Performance of Templates: time 0.005061/0.2271, allocations: 1.121 MB / 453.9 MB, free: 16.99 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0955053977668285]