Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001251/0.001251, allocations: 84.45 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.001407/0.001407, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.377/1.377, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 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.1966/0.1966, allocations: 32.82 MB / 293.5 MB, free: 48 kB / 270.1 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.118e-06/4.118e-06, allocations: 4 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.687e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002879/0.002905, allocations: 1.599 MB / 441.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.004733, allocations: 1.25 MB / 443 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.004782, allocations: 0 / 443 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.004987, allocations: 23.78 kB / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.005295, allocations: 83.56 kB / 443.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.005588, allocations: 123.5 kB / 443.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.005724, allocations: 63.83 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.005809, allocations: 11.98 kB / 443.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.222e-05/0.005881, allocations: 31.92 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.005982, allocations: 27.89 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.006002, allocations: 4 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.006163, allocations: 95.75 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.006214, allocations: 15.94 kB / 443.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.00625, allocations: 19.91 kB / 443.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.006493, allocations: 135.6 kB / 443.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006496, allocations: 4 kB / 443.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006496, allocations: 0 / 443.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.0065, allocations: 0 / 443.6 MB, free: 4.66 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.0004847/0.006985, allocations: 329.7 kB / 443.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.007017, allocations: 12.03 kB / 443.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.007055, allocations: 8.891 kB / 443.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.007239, allocations: 137 kB / 444.1 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.007248, allocations: 384 / 444.1 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.007267, allocations: 8.375 kB / 444.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.007443, allocations: 85.66 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.007458, allocations: 8.141 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.007471, allocations: 8.125 kB / 444.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.007479, allocations: 0 / 444.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.007573, allocations: 19.98 kB / 444.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.007928, allocations: 232.5 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.008133, allocations: 42.56 kB / 444.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.008185, allocations: 16.94 kB / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.008207, allocations: 3.938 kB / 444.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.008234, allocations: 42.56 kB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.008235, allocations: 0 / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005809/0.008816, allocations: 145.4 kB / 444.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.008867, allocations: 77.11 kB / 444.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.009025, allocations: 141.8 kB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.009049, allocations: 33.7 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.009103, allocations: 88.12 kB / 445 MB, free: 3.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.009132, allocations: 27.8 kB / 445 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.009171, allocations: 21.7 kB / 445 MB, free: 3.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.00931, allocations: 318.8 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.009388, allocations: 27.86 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.009486, allocations: 63.39 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.009639, allocations: 48.83 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.009642, allocations: 3.938 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002071/0.009849, allocations: 93.89 kB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.009865, allocations: 6.656 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.009871, allocations: 4 kB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.009885, allocations: 288 / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.009956, allocations: 19.92 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.009961, allocations: 0 / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.01001, allocations: 4 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.01002, allocations: 0 / 445.6 MB, free: 2.426 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 (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 0.0001099/0.01013, allocations: 118.4 kB / 445.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.01017, allocations: 19.92 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.01042, allocations: 94.12 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01042, allocations: 0 / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01043, allocations: 0 / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.01043, allocations: 0 / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.01086, allocations: 306.1 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01086, allocations: 0 / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.01093, allocations: 15.98 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01093, allocations: 4 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.01094, allocations: 0 / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01094, allocations: 0 / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01094, allocations: 0 / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.01119, allocations: 187.3 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.01122, allocations: 19.94 kB / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01124, allocations: 0 / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.01131, allocations: 8.125 kB / 446.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.01135, allocations: 7.984 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.01136, allocations: 8 kB / 446.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.71e-05/0.01145, allocations: 111.3 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01145, allocations: 0 / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.01174, allocations: 43.8 kB / 446.5 MB, free: 1.43 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 (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.001801/0.01354, allocations: 0.5152 MB / 447.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.01375, allocations: 51.91 kB / 447.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01375, allocations: 0 / 447.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.01383, allocations: 31.91 kB / 447.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.01412, allocations: 23.92 kB / 447.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.01456, allocations: 180.7 kB / 447.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.729e-05/0.01465, allocations: 81.75 kB / 447.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.01471, allocations: 19.92 kB / 447.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.01476, allocations: 12.5 kB / 447.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01476, allocations: 4 kB / 447.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of Templates: time 0.1693/0.1841, allocations: 1.821 MB / 449.3 MB, free: 21.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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: 4.596976891160011]