Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.0009762/0.0009762, allocations: 80.31 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.0009143/0.0009143, allocations: 168.4 kB / 25.61 MB, free: 8.906 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.9519/0.9519, allocations: 177.2 MB / 206.1 MB, free: 4.457 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.171/0.171, allocations: 32.81 MB / 295.4 MB, free: 15.35 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.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 3.938 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.244e-05, allocations: 6.141 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002104/0.002126, allocations: 1.754 MB / 379.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.003204, allocations: 0.9936 MB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.003282, allocations: 3.938 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.00354, allocations: 43.81 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.003802, allocations: 107.4 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.003985, allocations: 79.61 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.004132, allocations: 119.6 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.004212, allocations: 4 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.004286, allocations: 55.83 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.004354, allocations: 23.91 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.004366, allocations: 4 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-05/0.004435, allocations: 47.92 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.004478, allocations: 39.78 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.004508, allocations: 19.92 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.004654, allocations: 107.6 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.004659, allocations: 4 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00466, allocations: 4 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.004664, allocations: 0 / 380.8 MB, free: 22.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003499/0.005014, allocations: 479.6 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.005046, allocations: 15.98 kB / 381.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.00508, allocations: 20.8 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.005201, allocations: 169.3 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.005216, allocations: 384 / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.005231, allocations: 4.375 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.656e-05/0.005327, allocations: 62.88 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005337, allocations: 3.938 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.005343, allocations: 4 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.005348, allocations: 0 / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.005371, allocations: 11.98 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.005596, allocations: 272.4 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.462e-05/0.005671, allocations: 51.11 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.005688, allocations: 11.69 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.005698, allocations: 0 / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.523e-05/0.005773, allocations: 68.97 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.005774, allocations: 0 / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002688/0.006043, allocations: 149.4 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.006062, allocations: 55.41 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.006158, allocations: 269.7 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.006167, allocations: 37.64 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.006214, allocations: 166.8 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.006237, allocations: 27.83 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.006265, allocations: 27.38 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.006311, allocations: 0.5079 MB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.006326, allocations: 4 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.00635, allocations: 35.34 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.006385, allocations: 43.73 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006387, allocations: 4 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.238e-05/0.006469, allocations: 93.45 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.006481, allocations: 8 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006486, allocations: 4 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.006495, allocations: 0 / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.006554, allocations: 19.92 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.006556, allocations: 4 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.006584, allocations: 0 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.00659, allocations: 8.031 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.634e-05/0.006636, allocations: 156.6 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.006652, allocations: 27.8 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.006763, allocations: 107.2 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006765, allocations: 0 / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.006767, allocations: 4 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.00677, allocations: 3.938 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.006967, allocations: 369.5 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006968, allocations: 4 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.006991, allocations: 16.02 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006993, allocations: 0 / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.006999, allocations: 8 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007001, allocations: 0 / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007002, allocations: 0 / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.686e-05/0.007099, allocations: 263.6 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.007111, allocations: 11.91 kB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.007138, allocations: 0 / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.00718, allocations: 8 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.007205, allocations: 11.92 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.007215, allocations: 8 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.516e-05/0.00727, allocations: 192.5 kB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00727, allocations: 0 / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.007442, allocations: 23.95 kB / 384.5 MB, free: 17.98 MB / 314.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008663/0.008308, allocations: 436.2 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.008411, allocations: 51.53 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.008413, allocations: 0 / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.008442, allocations: 31.67 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.008677, allocations: 49.97 kB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.008995, allocations: 260.4 kB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.008e-05/0.009025, allocations: 79.17 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.00906, allocations: 16.97 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.009114, allocations: 90.19 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.009115, allocations: 4 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of Templates: time 0.003696/0.01281, allocations: 2.077 MB / 387.6 MB, free: 15.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.364164950326085]