Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001448/0.001448, allocations: 82.42 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.001747/0.001747, allocations: 163.4 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.396/1.396, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.1967/0.1967, allocations: 32.81 MB / 293.5 MB, free: 24 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.41e-05, allocations: 2.281 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002678/0.002702, allocations: 1.588 MB / 441.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003767, allocations: 0.5376 MB / 442.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.003828, allocations: 0 / 442.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.004011, allocations: 15.86 kB / 442.3 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.004289, allocations: 87.55 kB / 442.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.004582, allocations: 103.7 kB / 442.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.004734, allocations: 71.7 kB / 442.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004835, allocations: 8 kB / 442.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.00491, allocations: 35.89 kB / 442.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.004966, allocations: 15.94 kB / 442.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.004987, allocations: 4 kB / 442.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.005066, allocations: 35.92 kB / 442.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.005118, allocations: 19.91 kB / 442.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.005155, allocations: 7.938 kB / 442.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.005335, allocations: 87.66 kB / 442.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005337, allocations: 0 / 442.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005338, allocations: 0 / 442.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.005346, allocations: 0 / 442.7 MB, free: 5.508 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.00046/0.005806, allocations: 317.8 kB / 443 MB, free: 5.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.005842, allocations: 12.03 kB / 443 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.005883, allocations: 8.891 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.006074, allocations: 129.7 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.006081, allocations: 384 / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.006102, allocations: 384 / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.006238, allocations: 54.23 kB / 443.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.00625, allocations: 192 / 443.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.006261, allocations: 4.125 kB / 443.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.006264, allocations: 4 kB / 443.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.329e-05/0.006357, allocations: 31.86 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.006733, allocations: 228.6 kB / 443.5 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.006932, allocations: 38.56 kB / 443.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.00699, allocations: 24.88 kB / 443.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.007014, allocations: 3.938 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.00704, allocations: 34.56 kB / 443.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.007041, allocations: 0 / 443.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005999/0.007641, allocations: 165.5 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.007679, allocations: 51.41 kB / 443.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.007853, allocations: 161.8 kB / 444 MB, free: 4.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.007872, allocations: 25.7 kB / 444 MB, free: 4.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.007937, allocations: 96.14 kB / 444.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.007968, allocations: 23.81 kB / 444.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.008012, allocations: 17.72 kB / 444.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.008165, allocations: 322.8 kB / 444.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.008243, allocations: 19.98 kB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.008312, allocations: 27.98 kB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.00846, allocations: 48.83 kB / 444.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.00846, allocations: 0 / 444.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002187/0.008679, allocations: 101.5 kB / 444.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.008693, allocations: 4 kB / 444.6 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.0087, allocations: 3.984 kB / 444.6 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.008712, allocations: 0 / 444.6 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.008785, allocations: 19.98 kB / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.008789, allocations: 0 / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.008832, allocations: 4 kB / 444.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.008841, allocations: 3.984 kB / 444.7 MB, free: 3.387 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 9.687e-05/0.008938, allocations: 122.4 kB / 444.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.008972, allocations: 7.953 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.009229, allocations: 98.05 kB / 444.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.009231, allocations: 4 kB / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.009235, allocations: 320 / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.009237, allocations: 4 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.009662, allocations: 302.2 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.009663, allocations: 0 / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.009725, allocations: 12 kB / 445.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.009727, allocations: 0 / 445.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.009735, allocations: 0 / 445.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.009738, allocations: 3.984 kB / 445.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.009741, allocations: 3.938 kB / 445.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.00999, allocations: 187.4 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.01001, allocations: 7.953 kB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.01002, allocations: 7.875 kB / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.01009, allocations: 8 kB / 445.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.01013, allocations: 7.984 kB / 445.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.01013, allocations: 0 / 445.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.01025, allocations: 130.4 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01025, allocations: 0 / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00024/0.01049, allocations: 12 kB / 445.6 MB, free: 2.418 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.001566/0.01205, allocations: 434.2 kB / 446 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.01226, allocations: 55.89 kB / 446 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01226, allocations: 0 / 446 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.058e-05/0.01234, allocations: 23.98 kB / 446.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.01264, allocations: 25.31 kB / 446.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.01309, allocations: 193.4 kB / 446.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.53e-05/0.01318, allocations: 83.31 kB / 446.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.063e-05/0.01323, allocations: 11.98 kB / 446.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.01326, allocations: 16.44 kB / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01326, allocations: 0 / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of Templates: time 0.004117/0.01738, allocations: 1.168 MB / 447.6 MB, free: 0.5664 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 4.483018755912781]