Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0009274/0.0009274, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.0009714/0.0009714, allocations: 166.6 kB / 25.61 MB, free: 8.855 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.9175/0.9175, allocations: 177.1 MB / 206 MB, free: 4.52 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.1521/0.1521, allocations: 34.27 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.113e-05, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001616/0.001627, allocations: 1.682 MB / 381 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.002157, allocations: 0.5258 MB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.002201, allocations: 4 kB / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.002532, allocations: 459 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.002796, allocations: 291.2 kB / 382.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.002993, allocations: 135.6 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003137, allocations: 167.7 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.003212, allocations: 15.8 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.003294, allocations: 123.7 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.00343, allocations: 239.6 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003444, allocations: 4 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.003499, allocations: 35.97 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.003566, allocations: 83.72 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.003592, allocations: 39.75 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.00374, allocations: 203 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.003741, allocations: 0 / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003742, allocations: 0 / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.003745, allocations: 0 / 383.3 MB, free: 19.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003535/0.004099, allocations: 0.697 MB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.004126, allocations: 12.03 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.00416, allocations: 44.66 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.004288, allocations: 244.9 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.004297, allocations: 4.375 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.00431, allocations: 384 / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.872e-05/0.004379, allocations: 66.88 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004387, allocations: 192 / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.004393, allocations: 4.125 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.004398, allocations: 0 / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.004417, allocations: 7.984 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.004618, allocations: 332.3 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.00472, allocations: 46.97 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.004731, allocations: 19.69 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.004743, allocations: 3.938 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.004755, allocations: 45.31 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 6.62e-07/0.004756, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002225/0.004978, allocations: 125.3 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.579e-05/0.004994, allocations: 55.41 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.005231, allocations: 0.6001 MB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-06/0.005235, allocations: 29.7 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.005322, allocations: 294.7 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.005336, allocations: 15.83 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.005358, allocations: 31.36 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.00542, allocations: 0.5547 MB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.00543, allocations: 3.984 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.005439, allocations: 4 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.005463, allocations: 31.61 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.005463, allocations: 0 / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.465e-05/0.005528, allocations: 97.59 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.005537, allocations: 4 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.00554, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.005548, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.628e-05/0.005584, allocations: 15.98 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.005586, allocations: 4 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.005609, allocations: 0 / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.005613, allocations: 4 kB / 386.6 MB, free: 15.82 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 4.744e-05/0.005661, allocations: 160.5 kB / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.005689, allocations: 47.66 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.714e-05/0.005776, allocations: 89.23 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005778, allocations: 0 / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005779, allocations: 0 / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.005782, allocations: 4 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.005973, allocations: 389.8 kB / 387.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.005974, allocations: 0 / 387.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.005997, allocations: 15.98 kB / 387.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005998, allocations: 0 / 387.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.006001, allocations: 0 / 387.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.006002, allocations: 0 / 387.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006003, allocations: 0 / 387.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.829e-05/0.006071, allocations: 243.6 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.006088, allocations: 39.59 kB / 387.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.006102, allocations: 4 kB / 387.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.006139, allocations: 4.172 kB / 387.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.006156, allocations: 8 kB / 387.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.006159, allocations: 4 kB / 387.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.006291, allocations: 394.7 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006291, allocations: 0 / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.00645, allocations: 24 kB / 388 MB, free: 14.36 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.0006653/0.007115, allocations: 390.5 kB / 388.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.824e-05/0.007173, allocations: 27.67 kB / 388.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.007174, allocations: 0 / 388.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.007191, allocations: 23.61 kB / 388.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.0074, allocations: 32.73 kB / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.007825, allocations: 0.5704 MB / 389.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.007871, allocations: 115.3 kB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.007896, allocations: 19.97 kB / 389.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.007933, allocations: 74.2 kB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007933, allocations: 0 / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of Templates: time 0.003265/0.0112, allocations: 1.497 MB / 390.8 MB, free: 11.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.899638928938657]