Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001443/0.001443, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00162/0.00162, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9644/0.9644, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2394/0.2394, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.571e-05, allocations: 10.25 kB / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001988/0.002004, allocations: 1.673 MB / 378.2 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.002753, allocations: 0.5375 MB / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.00282, allocations: 4 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.003067, allocations: 91.69 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.003323, allocations: 115.5 kB / 378.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.003533, allocations: 95.62 kB / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.003672, allocations: 95.8 kB / 379.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.566e-05/0.003757, allocations: 27.92 kB / 379.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.003846, allocations: 59.75 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.003941, allocations: 59.86 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.003956, allocations: 4 kB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.004029, allocations: 47.91 kB / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.004073, allocations: 27.92 kB / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.004095, allocations: 11.94 kB / 379.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.004229, allocations: 111.6 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004231, allocations: 3.938 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004231, allocations: 0 / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.004235, allocations: 4 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003445/0.004579, allocations: 467.7 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.004609, allocations: 8.031 kB / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.00464, allocations: 16.84 kB / 379.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.004747, allocations: 152.4 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.004758, allocations: 12.36 kB / 380.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.004776, allocations: 8.359 kB / 380.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.004864, allocations: 66.88 kB / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004872, allocations: 192 / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.00488, allocations: 12.12 kB / 380.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004885, allocations: 4 kB / 380.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.004915, allocations: 15.98 kB / 380.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.005148, allocations: 292.2 kB / 380.5 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/0.005211, allocations: 62.95 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.005228, allocations: 15.62 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.005249, allocations: 4 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.005269, allocations: 37.39 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.00527, allocations: 0 / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004829/0.005753, allocations: 221.9 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.005777, allocations: 55.41 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.005904, allocations: 246.6 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.005915, allocations: 25.7 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.00597, allocations: 158.8 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.006, allocations: 47.56 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.006034, allocations: 39.34 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.006145, allocations: 0.5039 MB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.006163, allocations: 11.98 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.006181, allocations: 12 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.006228, allocations: 51.17 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006229, allocations: 0 / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.965e-05/0.006319, allocations: 101.5 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.00633, allocations: 8 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.006333, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.006347, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.006415, allocations: 23.98 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.006417, allocations: 0 / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.006438, allocations: 8 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.006443, allocations: 0 / 382.1 MB, free: 14.54 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 (13): * Single equations (assignments): 13 * 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.459e-05/0.006507, allocations: 172.5 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.006531, allocations: 19.86 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.006664, allocations: 119.2 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006667, allocations: 7.938 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.006668, allocations: 0 / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.00667, allocations: 0 / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.006953, allocations: 401.4 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006954, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.006998, allocations: 23.98 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006999, allocations: 4.031 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.007006, allocations: 8 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.007007, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.007013, allocations: 3.938 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.007138, allocations: 251.5 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.007151, allocations: 15.91 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.007163, allocations: 3.984 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.0072, allocations: 8 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.007226, allocations: 11.92 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.007231, allocations: 4 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.007306, allocations: 181 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007306, allocations: 4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.007474, allocations: 35.92 kB / 383.4 MB, free: 13.22 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 (13): * Single equations (assignments): 13 * 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.0008413/0.008315, allocations: 428.2 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.373e-05/0.008409, allocations: 63.59 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.00841, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.008443, allocations: 39.55 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.00864, allocations: 31.91 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.008931, allocations: 268.8 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.008968, allocations: 75.33 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.799e-05/0.009006, allocations: 20.48 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.009065, allocations: 86.19 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009066, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of Templates: time 0.002926/0.01199, allocations: 1.733 MB / 386.1 MB, free: 10.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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: 2.926472290419042]