Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009936/0.0009936, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001084/0.001084, allocations: 167.6 kB / 24.99 MB, free: 8.25 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.9922/0.9922, 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.2755/0.2755, allocations: 34.26 MB / 296 MB, free: 0.7656 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.308e-05, allocations: 9.969 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002191/0.002215, allocations: 1.646 MB / 379.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003325, allocations: 0.5376 MB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.003387, allocations: 0 / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.003641, allocations: 75.7 kB / 380.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.003894, allocations: 107.5 kB / 380.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.004087, allocations: 95.56 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.004235, allocations: 83.77 kB / 380.6 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004341, allocations: 11.97 kB / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.004421, allocations: 47.84 kB / 380.6 MB, free: 356 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.00454, allocations: 59.86 kB / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.004556, allocations: 0 / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.004644, allocations: 51.91 kB / 380.8 MB, free: 244 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.004701, allocations: 23.92 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.00473, allocations: 7.938 kB / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.004884, allocations: 91.72 kB / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004886, allocations: 0 / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004887, allocations: 0 / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.004891, allocations: 3.938 kB / 380.9 MB, free: 116 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.0004477/0.005339, allocations: 439.9 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.005378, allocations: 8.031 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.005427, allocations: 20.84 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.00557, allocations: 149.1 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.00558, allocations: 4.375 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.005602, allocations: 4.375 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.005716, allocations: 58.95 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.005724, allocations: 192 / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.005734, allocations: 4.125 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005741, allocations: 0 / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.005777, allocations: 15.92 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.006101, allocations: 299.6 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.006173, allocations: 47.03 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.0062, allocations: 19.62 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.006221, allocations: 3.938 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.00625, allocations: 41.39 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006251, allocations: 0 / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000548/0.006799, allocations: 169.4 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.006833, allocations: 51.41 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.006982, allocations: 242.4 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.006992, allocations: 33.64 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.007053, allocations: 158.8 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.007077, allocations: 23.81 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.007113, allocations: 27.36 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.007238, allocations: 0.5 MB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.007258, allocations: 8 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.007278, allocations: 15.98 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.007324, allocations: 31.62 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.007325, allocations: 0 / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.867e-05/0.007414, allocations: 81.66 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.007427, allocations: 4 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007431, allocations: 4 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.007445, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.007522, allocations: 15.98 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.007528, allocations: 4 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.007547, allocations: 4 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.007554, allocations: 4 kB / 383.3 MB, free: 13.45 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.834e-05/0.007622, allocations: 168.4 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.007645, allocations: 19.91 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.007777, allocations: 79.14 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.00778, allocations: 8 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007784, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007787, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.008094, allocations: 381.4 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008096, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.008136, allocations: 15.94 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.008139, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.008149, allocations: 11.98 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008152, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008153, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.008281, allocations: 235.5 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.00829, allocations: 7.953 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.008304, allocations: 8 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.008337, allocations: 7.984 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.008368, allocations: 7.938 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.008373, allocations: 11.88 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.788e-05/0.008461, allocations: 171.1 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008461, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.008626, allocations: 16 kB / 384.5 MB, free: 12.24 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.001085/0.009711, allocations: 433.1 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.009831, allocations: 43.66 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.009834, allocations: 0 / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.009864, allocations: 31.61 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.01009, allocations: 23.94 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.01045, allocations: 229.8 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.86e-05/0.0105, allocations: 79.27 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.59e-05/0.01053, allocations: 17.09 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.01056, allocations: 16.48 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01056, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003134/0.0137, allocations: 1.361 MB / 386.7 MB, free: 10.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.096836472861469]