Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001061/0.001061, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001666/0.001666, allocations: 164.7 kB / 24.99 MB, free: 8.844 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.9618/0.9618, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2771/0.2771, allocations: 32.8 MB / 294.6 MB, free: 1.172 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.025e-06/3.025e-06, allocations: 4 kB / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.726e-05, allocations: 2.312 kB / 376 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002767/0.002795, allocations: 1.689 MB / 377.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.003701, allocations: 0.5491 MB / 378.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.003765, allocations: 0 / 378.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.004306, allocations: 455.1 kB / 378.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.004755, allocations: 291.1 kB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.005065, allocations: 135.6 kB / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.00529, allocations: 167.7 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.005383, allocations: 8 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.005518, allocations: 115.8 kB / 379.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.005754, allocations: 251.5 kB / 379.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.005772, allocations: 4 kB / 379.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.005855, allocations: 31.92 kB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.005957, allocations: 91.64 kB / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.006002, allocations: 35.75 kB / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.006255, allocations: 191.2 kB / 380 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006257, allocations: 4 kB / 380 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006258, allocations: 0 / 380 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.006265, allocations: 0 / 380 MB, free: 0.9297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006343/0.006899, allocations: 0.6853 MB / 380.7 MB, free: 212 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.006941, allocations: 16.03 kB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.007016, allocations: 48.64 kB / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.007265, allocations: 244.9 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.007277, allocations: 4.375 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.0073, allocations: 4.375 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.007431, allocations: 58.94 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007441, allocations: 192 / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.007452, allocations: 8.062 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.00746, allocations: 0 / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.612e-05/0.007496, allocations: 11.94 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.007964, allocations: 431.6 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.008138, allocations: 50.98 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.008163, allocations: 15.62 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.008181, allocations: 0 / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.008204, allocations: 37.39 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.008206, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004504/0.008656, allocations: 188.8 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.008689, allocations: 51.41 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.009217, allocations: 0.6277 MB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.009229, allocations: 25.7 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.009403, allocations: 286.8 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.009426, allocations: 19.83 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.009471, allocations: 23.38 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.009655, allocations: 0.5509 MB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.00968, allocations: 7.984 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.009699, allocations: 4 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.009749, allocations: 31.81 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00975, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001245/0.009875, allocations: 97.34 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009888, allocations: 4 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009893, allocations: 0 / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.009906, allocations: 4 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.009964, allocations: 11.98 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.00997, allocations: 4 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.01001, allocations: 288 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.01001, allocations: 4 kB / 383.5 MB, free: 13.2 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 (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 8.175e-05/0.01009, allocations: 160.5 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.01014, allocations: 43.72 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.0103, allocations: 105.1 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01031, allocations: 0 / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01031, allocations: 8 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01031, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.01074, allocations: 465.3 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01074, allocations: 3.938 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.01079, allocations: 11.94 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01079, allocations: 3.984 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.0108, allocations: 4 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.0108, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.0108, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.01095, allocations: 247.8 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.01098, allocations: 31.72 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.011, allocations: 4 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.01107, allocations: 4 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.0111, allocations: 7.984 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.0111, allocations: 4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003442/0.01145, allocations: 426.8 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01145, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.0117, allocations: 27.94 kB / 385.1 MB, free: 11.59 MB / 362.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.0009814/0.01268, allocations: 389.6 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01279, allocations: 31.67 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01279, allocations: 0 / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.01282, allocations: 15.69 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.01315, allocations: 25.95 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.01396, allocations: 0.5768 MB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.01405, allocations: 119.2 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.869e-05/0.01409, allocations: 7.984 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.01412, allocations: 12.5 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01413, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.004664/0.01879, allocations: 1.378 MB / 387.6 MB, free: 9.133 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.2795076889451593]