Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001223/0.001223, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001023/0.001023, allocations: 171.3 kB / 25.61 MB, free: 8.582 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.908/0.908, allocations: 177.1 MB / 206 MB, free: 4.477 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.1427/0.1427, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.347e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002081/0.002104, allocations: 1.63 MB / 378.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.002781, allocations: 0.5297 MB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.002842, allocations: 3.938 kB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.003045, allocations: 23.84 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.0033, allocations: 87.56 kB / 379.5 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.003562, allocations: 107.7 kB / 379.6 MB, free: 23.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.003683, allocations: 71.77 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.003767, allocations: 11.84 kB / 379.7 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.003817, allocations: 23.92 kB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.003869, allocations: 19.92 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.003883, allocations: 7.984 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.003949, allocations: 31.92 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.003985, allocations: 15.94 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.004007, allocations: 15.92 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.00415, allocations: 75.73 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.004153, allocations: 0 / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004153, allocations: 3.938 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004157, allocations: 0 / 379.9 MB, free: 22.92 MB / 314.7 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.0002932/0.004451, allocations: 420 kB / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.004482, allocations: 11.98 kB / 380.3 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.004513, allocations: 8.891 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.45e-05/0.004607, allocations: 140.4 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-06/0.004614, allocations: 384 / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.004629, allocations: 12.38 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.004749, allocations: 46.95 kB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.00476, allocations: 4.188 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.004767, allocations: 8.125 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.004771, allocations: 0 / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.004791, allocations: 11.92 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.004986, allocations: 252.5 kB / 380.8 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.005096, allocations: 35.06 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.005111, allocations: 19.7 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.005125, allocations: 4 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.005138, allocations: 37.33 kB / 380.9 MB, free: 21.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.005139, allocations: 4 kB / 380.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002523/0.005391, allocations: 89.78 kB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.005408, allocations: 51.41 kB / 381.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/0.005471, allocations: 204.5 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.005476, allocations: 25.7 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.005504, allocations: 146.8 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.005521, allocations: 19.84 kB / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.005544, allocations: 23.36 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.005586, allocations: 0.4962 MB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.005596, allocations: 4 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-06/0.005606, allocations: 4 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.005634, allocations: 23.67 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.005635, allocations: 3.938 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.519e-05/0.00569, allocations: 65.53 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.0057, allocations: 8 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005704, allocations: 0 / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.005713, allocations: 3.938 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.141e-05/0.005754, allocations: 11.98 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.005756, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.005773, allocations: 11.98 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-06/0.005777, allocations: 0 / 382.1 MB, free: 20.55 MB / 314.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 (5): * Single equations (assignments): 5 * 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 3.886e-05/0.005816, allocations: 160.5 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.005833, allocations: 7.953 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.846e-05/0.005922, allocations: 74.33 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005923, allocations: 0 / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005925, allocations: 0 / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.005927, allocations: 4 kB / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.006089, allocations: 298 kB / 382.6 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.006089, allocations: 0 / 382.6 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.006116, allocations: 15.94 kB / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.006118, allocations: 0 / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.006122, allocations: 3.984 kB / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006123, allocations: 0 / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006124, allocations: 0 / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.9e-05/0.006193, allocations: 207.8 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.0062, allocations: 7.953 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.006214, allocations: 0 / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.006243, allocations: 4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.00627, allocations: 7.984 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.006275, allocations: 8 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.006308, allocations: 143.2 kB / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006308, allocations: 0 / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.006462, allocations: 23.92 kB / 383 MB, free: 19.54 MB / 314.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 (5): * Single equations (assignments): 5 * 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.0007563/0.007219, allocations: 392.6 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.264e-05/0.007291, allocations: 27.69 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.007294, allocations: 0 / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.007311, allocations: 23.73 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.007509, allocations: 26 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.007744, allocations: 180.5 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.405e-05/0.007768, allocations: 67.19 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.007794, allocations: 12 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.007834, allocations: 78.19 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007835, allocations: 0 / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of Templates: time 0.002593/0.01043, allocations: 1.29 MB / 385.1 MB, free: 17.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.386017054785043]