Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.0009561/0.0009561, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009393/0.0009393, allocations: 170.2 kB / 24.92 MB, free: 9.184 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.461 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.229/0.229, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.738e-05, allocations: 5.578 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.001969/0.001987, allocations: 1.659 MB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.002648, allocations: 0.5296 MB / 327.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.002696, allocations: 0 / 327.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.002917, allocations: 79.7 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.003142, allocations: 107.5 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.00332, allocations: 95.56 kB / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.003446, allocations: 83.75 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.003521, allocations: 15.98 kB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.003589, allocations: 51.88 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.003671, allocations: 47.83 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.003681, allocations: 0 / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.00375, allocations: 51.91 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.00379, allocations: 15.94 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.003812, allocations: 15.92 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.003942, allocations: 91.67 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-06/0.003943, allocations: 0 / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003944, allocations: 0 / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.003946, allocations: 4 kB / 328.1 MB, free: 4.805 MB / 298.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.000298/0.004244, allocations: 322 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.004274, allocations: 8.031 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.004299, allocations: 4.938 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.00442, allocations: 147.4 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.004428, allocations: 4.375 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.004445, allocations: 384 / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.029e-05/0.004526, allocations: 58.94 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.004534, allocations: 192 / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.004541, allocations: 4.125 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.004545, allocations: 8 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.004566, allocations: 11.92 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.004745, allocations: 171.1 kB / 328.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/0.00479, allocations: 30.62 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.004803, allocations: 8.859 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.004816, allocations: 4 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.004836, allocations: 38.5 kB / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.004837, allocations: 0 / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003607/0.005197, allocations: 145.8 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.005226, allocations: 59.41 kB / 329.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.005326, allocations: 181.5 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.005335, allocations: 25.7 kB / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.005367, allocations: 100 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.005389, allocations: 23.81 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.005415, allocations: 25.69 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.005487, allocations: 322.8 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.005499, allocations: 8 kB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.005509, allocations: 4 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.00554, allocations: 28.83 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.005541, allocations: 4 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.32e-05/0.005594, allocations: 65.77 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.005604, allocations: 8 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005607, allocations: 96 / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.00562, allocations: 3.984 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.005673, allocations: 15.98 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.005675, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.005692, allocations: 7.938 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.005698, allocations: 4 kB / 329.9 MB, free: 2.828 MB / 298.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 5.063e-05/0.005748, allocations: 116.7 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.005766, allocations: 19.88 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.778e-05/0.005853, allocations: 75.11 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005855, allocations: 0 / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.005857, allocations: 4 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.00586, allocations: 0 / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.006291, allocations: 243.5 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006292, allocations: 0 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.006324, allocations: 15.98 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006325, allocations: 0 / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.006331, allocations: 12.03 kB / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006332, allocations: 0 / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006333, allocations: 3.938 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.213e-05/0.006405, allocations: 160.3 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.006415, allocations: 15.84 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.006425, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.006458, allocations: 11.98 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.006477, allocations: 4 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.00648, allocations: 0 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.856e-05/0.006519, allocations: 52.14 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006519, allocations: 0 / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001278/0.006647, allocations: 24 kB / 330.7 MB, free: 2.016 MB / 298.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.001196/0.007842, allocations: 0.5775 MB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.877e-05/0.007911, allocations: 44.77 kB / 331.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007913, allocations: 0 / 331.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/0.007933, allocations: 20.8 kB / 331.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.008078, allocations: 19.98 kB / 331.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.00836, allocations: 223.6 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.008396, allocations: 75.33 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.941e-05/0.008425, allocations: 13.11 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.008472, allocations: 59.36 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.008473, allocations: 0 / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of Templates: time 0.002673/0.01115, allocations: 1.485 MB / 333.2 MB, free: 15.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.8763574617914855]