Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.000957/0.000957, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.00103/0.00103, allocations: 160.5 kB / 24.99 MB, free: 9.277 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.9925/0.9925, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2452/0.2452, allocations: 34.26 MB / 296 MB, free: 0.7695 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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.078e-05, allocations: 6.25 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002199/0.002219, allocations: 1.653 MB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.003049, allocations: 0.5453 MB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.003104, allocations: 0 / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.003344, allocations: 75.64 kB / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.003589, allocations: 111.5 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.003817, allocations: 107.7 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.003954, allocations: 95.67 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.004041, allocations: 12 kB / 380.6 MB, free: 348 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.004102, allocations: 43.88 kB / 380.7 MB, free: 304 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.004191, allocations: 55.88 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.004207, allocations: 4 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.004277, allocations: 47.92 kB / 380.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.004323, allocations: 23.91 kB / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.004352, allocations: 15.94 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004495, allocations: 91.59 kB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004498, allocations: 0 / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.004498, allocations: 0 / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004502, allocations: 3.938 kB / 380.9 MB, free: 60 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003518/0.004854, allocations: 439.9 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.004889, allocations: 12.03 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.004922, allocations: 12.84 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.005049, allocations: 149.1 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.005058, allocations: 8.375 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.005075, allocations: 4.375 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/0.005165, allocations: 62.88 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005172, allocations: 192 / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.00518, allocations: 4.125 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005186, allocations: 4 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.175e-05/0.005218, allocations: 7.984 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.00549, allocations: 299.7 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/0.005556, allocations: 42.98 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.005584, allocations: 19.7 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.00561, allocations: 8 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.005631, allocations: 37.39 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005632, allocations: 0 / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000475/0.006107, allocations: 173.3 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.006134, allocations: 51.41 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.006269, allocations: 242.4 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.006279, allocations: 37.64 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.006332, allocations: 150.9 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.006357, allocations: 31.75 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.006389, allocations: 35.3 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.006521, allocations: 0.4961 MB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.006544, allocations: 12 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.00656, allocations: 4 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.006607, allocations: 39.67 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.006608, allocations: 0 / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.787e-05/0.006686, allocations: 73.59 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006698, allocations: 4 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006701, allocations: 4 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006713, allocations: 4 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.006773, allocations: 19.92 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.006778, allocations: 0 / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.006797, allocations: 4 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.006802, allocations: 0 / 383.4 MB, free: 13.39 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 (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 prepare postOptimizeDAE: time 6.819e-05/0.006871, allocations: 164.5 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.006892, allocations: 11.91 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.007023, allocations: 95.11 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007024, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.007027, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.00703, allocations: 7.938 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.007382, allocations: 385.4 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007383, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.007416, allocations: 12 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.007418, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.007428, allocations: 4 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.007431, allocations: 3.984 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007432, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.007556, allocations: 243.4 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.007564, allocations: 7.953 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.007577, allocations: 8.031 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/0.007612, allocations: 7.984 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.007641, allocations: 11.94 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.007644, allocations: 3.938 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.007738, allocations: 171.1 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007739, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000166/0.007905, allocations: 23.94 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0008678/0.008772, allocations: 433 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.165e-05/0.008864, allocations: 47.61 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008866, allocations: 0 / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.008896, allocations: 27.67 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.009093, allocations: 23.94 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.009424, allocations: 237.8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.009467, allocations: 71.33 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.196e-05/0.009509, allocations: 21.08 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.009538, allocations: 20.48 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009538, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.002857/0.0124, allocations: 1.406 MB / 386.8 MB, free: 10.01 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.0901401250157505]