Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001305/0.001305, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001419/0.001419, allocations: 161 kB / 24.56 MB, free: 20 kB / 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 1.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2954/0.2954, allocations: 34.26 MB / 295.7 MB, free: 0.7266 MB / 266.7 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.74e-05, allocations: 2.312 kB / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002856/0.002883, allocations: 1.634 MB / 379.7 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.003687, allocations: 0.5298 MB / 380.2 MB, free: 492 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.003746, allocations: 0 / 380.2 MB, free: 492 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.003982, allocations: 35.77 kB / 380.3 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.00426, allocations: 79.56 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.004502, allocations: 87.64 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.00465, allocations: 67.83 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.004759, allocations: 11.98 kB / 380.5 MB, free: 208 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.004822, allocations: 31.91 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.004888, allocations: 11.94 kB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.004906, allocations: 4 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.005003, allocations: 35.92 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.005064, allocations: 19.91 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.005095, allocations: 7.938 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.005253, allocations: 75.69 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005255, allocations: 0 / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005256, allocations: 0 / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005261, allocations: 0 / 380.7 MB, free: 20 kB / 346.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.0004427/0.005704, allocations: 412.2 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.005744, allocations: 12.03 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.00579, allocations: 16.89 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.005935, allocations: 136.5 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.005944, allocations: 4.312 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.005971, allocations: 4.312 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.006088, allocations: 58.94 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.006099, allocations: 192 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.00611, allocations: 8.125 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.006118, allocations: 0 / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.006151, allocations: 4 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.006468, allocations: 271.8 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.006637, allocations: 54.97 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.00666, allocations: 7.688 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.00669, allocations: 7.938 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.00671, allocations: 33.39 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.006712, allocations: 0 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003717/0.007084, allocations: 113.4 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.007115, allocations: 55.41 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.007244, allocations: 201.3 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.007255, allocations: 25.7 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.007317, allocations: 146.9 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.007338, allocations: 19.89 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.007372, allocations: 27.36 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.007501, allocations: 0.4922 MB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.00752, allocations: 7.984 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.007533, allocations: 4 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.007572, allocations: 27.62 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.007573, allocations: 0 / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.453e-05/0.007648, allocations: 61.59 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.007663, allocations: 8 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.007668, allocations: 0 / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.007683, allocations: 4 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.007726, allocations: 11.98 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007732, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.00775, allocations: 4 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.007755, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.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 7.04e-05/0.007825, allocations: 168.5 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.007843, allocations: 7.953 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.007964, allocations: 74.06 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.007967, allocations: 4 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.00797, allocations: 0 / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007973, allocations: 4 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.008212, allocations: 329.6 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008214, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.008245, allocations: 16.05 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008248, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.008254, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008255, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008256, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.008365, allocations: 211.8 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.008373, allocations: 7.891 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.008386, allocations: 4 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.008415, allocations: 4 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.008448, allocations: 7.984 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.008451, allocations: 0 / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.61e-05/0.008517, allocations: 159.1 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008517, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.008679, allocations: 16 kB / 383.9 MB, free: 12.54 MB / 362.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.0008566/0.009536, allocations: 374.8 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.672e-05/0.009633, allocations: 31.67 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009634, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.009657, allocations: 19.62 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.009871, allocations: 25.23 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.01019, allocations: 190.5 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.01023, allocations: 59.34 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.01026, allocations: 11.98 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.01028, allocations: 16.5 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01028, allocations: 0 / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.002875/0.01316, allocations: 1.168 MB / 385.8 MB, free: 10.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.403215330094099]