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.001514/0.001514, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001622/0.001622, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.495/1.495, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3244/0.3244, allocations: 34.25 MB / 295.3 MB, free: 0.7109 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.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.463e-06/1.463e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.939e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003272/0.003301, allocations: 1.653 MB / 379 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004472, allocations: 0.5336 MB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.004525, allocations: 0 / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.005215, allocations: 447.1 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005552/0.00577, allocations: 303.2 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.006119, allocations: 131.5 kB / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.006376, allocations: 171.6 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.006468, allocations: 11.98 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.006634, allocations: 119.8 kB / 380.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.007033, allocations: 239.5 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.007051, allocations: 0 / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.386e-05/0.007145, allocations: 35.98 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.007278, allocations: 79.7 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.007337, allocations: 43.73 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.00768, allocations: 239.1 kB / 381.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.00769, allocations: 7.938 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007691, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.007697, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.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.000831/0.008528, allocations: 0.5698 MB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.008573, allocations: 8.031 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.008667, allocations: 48.66 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.008993, allocations: 250 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.009004, allocations: 384 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.00903, allocations: 8.375 kB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.009229, allocations: 50.25 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.009243, allocations: 4.125 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.009259, allocations: 4.125 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.009266, allocations: 4 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.009371, allocations: 23.97 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.009845, allocations: 316.5 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.01008, allocations: 54.42 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.01014, allocations: 12.86 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.01016, allocations: 0 / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.01019, allocations: 38.56 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.01019, allocations: 0 / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006907/0.01089, allocations: 236.7 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.01094, allocations: 51.41 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.01195, allocations: 0.8574 MB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.01197, allocations: 25.7 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.01218, allocations: 220 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.01221, allocations: 19.84 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.01225, allocations: 17.72 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004192/0.01267, allocations: 358.8 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.01274, allocations: 19.98 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.395e-05/0.01281, allocations: 19.98 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.01295, allocations: 52.89 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.01295, allocations: 0 / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002593/0.01321, allocations: 125.4 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01323, allocations: 4 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01323, allocations: 0 / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.01325, allocations: 0 / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.01332, allocations: 19.92 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01333, allocations: 0 / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.01339, allocations: 4 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.01339, allocations: 3.984 kB / 384.7 MB, free: 11.4 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 0.0002305/0.01362, allocations: 217.7 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.01369, allocations: 43.72 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.01402, allocations: 141.1 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01402, allocations: 4 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01403, allocations: 0 / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.01403, allocations: 0 / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/0.01462, allocations: 410 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01463, allocations: 4 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.01468, allocations: 8 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01468, allocations: 0 / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01469, allocations: 4 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.0147, allocations: 3.984 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0147, allocations: 0 / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.01501, allocations: 211.4 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.01507, allocations: 39.72 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.01509, allocations: 4.344 kB / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.01519, allocations: 11.98 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.01523, allocations: 0 / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.01523, allocations: 4 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007654/0.016, allocations: 0.655 MB / 386.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.016, allocations: 0 / 386.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.01626, allocations: 20 kB / 386.4 MB, free: 9.574 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.00199/0.01825, allocations: 436.7 kB / 386.9 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01847, allocations: 47.97 kB / 386.9 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01847, allocations: 0 / 386.9 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.01855, allocations: 27.92 kB / 386.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.019, allocations: 26.2 kB / 387 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.02031, allocations: 0.8071 MB / 387.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.02058, allocations: 220 kB / 388 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.565e-05/0.02064, allocations: 16 kB / 388 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.02069, allocations: 20.48 kB / 388 MB, free: 8.117 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02069, allocations: 0 / 388 MB, free: 8.117 MB / 362.7 MB Notification: Performance of Templates: time 0.005365/0.02606, allocations: 1.347 MB / 389.4 MB, free: 6.785 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.788890876923688]