Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0009223/0.0009223, allocations: 81.97 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.0009578/0.0009578, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8944/0.8944, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1394/0.1394, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.11e-05, allocations: 6.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001597/0.001609, allocations: 1.626 MB / 380.9 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005828/0.002191, allocations: 0.5258 MB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.002235, allocations: 0 / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.002396, allocations: 19.84 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.002586, allocations: 83.56 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.002741, allocations: 99.56 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.002847, allocations: 63.83 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.954e-05/0.002916, allocations: 15.84 kB / 381.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.002959, allocations: 27.92 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.003005, allocations: 15.92 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.003016, allocations: 4 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.003065, allocations: 39.91 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.003096, allocations: 11.94 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.003115, allocations: 11.92 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003217, allocations: 71.73 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-06/0.003218, allocations: 4 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.003218, allocations: 0 / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.003223, allocations: 4 kB / 381.9 MB, free: 20.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002415/0.003464, allocations: 420 kB / 382.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.605e-05/0.00349, allocations: 8.031 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.003516, allocations: 8.891 kB / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/0.003606, allocations: 146.3 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.003614, allocations: 4.375 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.003627, allocations: 384 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.634e-05/0.003693, allocations: 54.95 kB / 382.5 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.0037, allocations: 192 / 382.5 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.00371, allocations: 8.125 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003715, allocations: 3.984 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.003735, allocations: 7.984 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.00389, allocations: 244.5 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.00399, allocations: 42.98 kB / 382.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.137e-05/0.004002, allocations: 11.69 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.004015, allocations: 0 / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.004029, allocations: 41.33 kB / 382.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.004029, allocations: 0 / 382.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002081/0.004237, allocations: 101.6 kB / 383 MB, free: 19.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/0.004252, allocations: 55.41 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.004311, allocations: 196.9 kB / 383.2 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.239e-06/0.004316, allocations: 33.69 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.004342, allocations: 146.8 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.004355, allocations: 7.906 kB / 383.4 MB, free: 19.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.00438, allocations: 31.34 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.004417, allocations: 0.4884 MB / 383.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-06/0.004426, allocations: 7.984 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.004434, allocations: 7.938 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.241e-05/0.004457, allocations: 19.69 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004458, allocations: 7.938 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.674e-05/0.004505, allocations: 61.84 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.004514, allocations: 6.188 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.004517, allocations: 4 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.004524, allocations: 4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.241e-05/0.004556, allocations: 11.98 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.004559, allocations: 7.875 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.004574, allocations: 4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.004578, allocations: 0 / 384.1 MB, free: 18.39 MB / 314.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 (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 3.627e-05/0.004614, allocations: 160.5 kB / 384.2 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.004636, allocations: 11.95 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.445e-05/0.004711, allocations: 70.12 kB / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004712, allocations: 0 / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004714, allocations: 0 / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004716, allocations: 0 / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.004861, allocations: 302 kB / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004862, allocations: 0 / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.004885, allocations: 11.98 kB / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.004886, allocations: 0 / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.00489, allocations: 4 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.004891, allocations: 4 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004891, allocations: 0 / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.569e-05/0.004947, allocations: 207.8 kB / 384.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.004953, allocations: 7.953 kB / 384.8 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.004962, allocations: 0 / 384.8 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.004991, allocations: 8.172 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.005009, allocations: 4 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.005012, allocations: 4 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.898e-05/0.005041, allocations: 147.1 kB / 385 MB, free: 17.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005041, allocations: 4 kB / 385 MB, free: 17.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.005193, allocations: 15.94 kB / 385 MB, free: 17.38 MB / 314.7 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.0007107/0.005904, allocations: 389.8 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.336e-05/0.005967, allocations: 31.66 kB / 385.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.005968, allocations: 4 kB / 385.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/0.005984, allocations: 19.62 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.006167, allocations: 19.03 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.006364, allocations: 180.4 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.069e-05/0.006384, allocations: 66.2 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.357e-05/0.006408, allocations: 8 kB / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.006443, allocations: 78.19 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006444, allocations: 4 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of Templates: time 0.002319/0.008763, allocations: 1.274 MB / 387.1 MB, free: 15.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.926948680076748]