Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001721/0.001721, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001967/0.001967, allocations: 170.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.462/1.462, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] 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.2095/0.2095, allocations: 32.81 MB / 294.1 MB, free: 32 kB / 270.1 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 71.89 kB / 440.6 MB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3477, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002559/0.3502, allocations: 1.61 MB / 0.4957 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.3517, allocations: 1.235 MB / 0.4969 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.3518, allocations: 0 / 0.4969 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.352, allocations: 22.27 kB / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.3523, allocations: 89.53 kB / 0.497 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.3525, allocations: 93.89 kB / 0.4971 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3526, allocations: 63.3 kB / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3527, allocations: 13.67 kB / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.3528, allocations: 24.5 kB / 0.4972 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3529, allocations: 32.58 kB / 0.4973 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3529, allocations: 3.219 kB / 0.4973 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3531, allocations: 92.11 kB / 0.4973 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.3531, allocations: 11.12 kB / 0.4974 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.3531, allocations: 17.56 kB / 0.4974 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3533, allocations: 147.7 kB / 0.4975 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3534, allocations: 4 kB / 0.4975 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3534, allocations: 0 / 0.4975 GB, free: 29.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3534, allocations: 3.219 kB / 0.4975 GB, free: 29.21 MB / 446.1 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.0004062/0.3538, allocations: 328.8 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.3538, allocations: 10.31 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3538, allocations: 11.27 kB / 0.4979 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.354, allocations: 130.8 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.354, allocations: 384 / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.354, allocations: 384 / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3542, allocations: 107.7 kB / 0.4981 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3542, allocations: 0 / 0.4981 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3542, allocations: 0 / 0.4981 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3542, allocations: 0 / 0.4981 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.3543, allocations: 20.16 kB / 0.4981 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.3546, allocations: 229.2 kB / 0.4983 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3548, allocations: 42 kB / 0.4984 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.3548, allocations: 18.97 kB / 0.4984 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3548, allocations: 0 / 0.4984 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.3548, allocations: 37.78 kB / 0.4984 GB, free: 28.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.3548, allocations: 0 / 0.4984 GB, free: 28.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005296/0.3554, allocations: 141.2 kB / 0.4986 GB, free: 28.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.3554, allocations: 77.11 kB / 0.4986 GB, free: 28.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3555, allocations: 143.1 kB / 0.4988 GB, free: 28.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.3555, allocations: 29.7 kB / 0.4988 GB, free: 28.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.3556, allocations: 93.78 kB / 0.4989 GB, free: 27.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3556, allocations: 19.8 kB / 0.4989 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.3556, allocations: 27.28 kB / 0.4989 GB, free: 27.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.3557, allocations: 325.4 kB / 0.4992 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/0.3557, allocations: 13.48 kB / 0.4992 GB, free: 27.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.3558, allocations: 59.95 kB / 0.4993 GB, free: 27.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3559, allocations: 45.97 kB / 0.4993 GB, free: 27.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3559, allocations: 0 / 0.4993 GB, free: 27.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001614/0.3561, allocations: 88.77 kB / 0.4994 GB, free: 27.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3561, allocations: 3.156 kB / 0.4994 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3561, allocations: 3.938 kB / 0.4994 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3561, allocations: 3.125 kB / 0.4994 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.3562, allocations: 16.89 kB / 0.4995 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3562, allocations: 0 / 0.4995 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.3562, allocations: 6.484 kB / 0.4995 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3562, allocations: 3.25 kB / 0.4995 GB, free: 27.45 MB / 446.1 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 5.705e-05/0.3563, allocations: 121.7 kB / 0.4996 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3563, allocations: 7.078 kB / 0.4996 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.3565, allocations: 89.81 kB / 0.4997 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3565, allocations: 3 kB / 0.4997 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3565, allocations: 0 / 0.4997 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3565, allocations: 0 / 0.4997 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.3568, allocations: 301 kB / 0.5 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3568, allocations: 0 / 0.5 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.3569, allocations: 8.875 kB / 0.5 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3569, allocations: 6.938 kB / 0.5 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3569, allocations: 3.469 kB / 0.5 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3569, allocations: 0 / 0.5 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3569, allocations: 0 / 0.5 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3571, allocations: 180.7 kB / 0.5002 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.3571, allocations: 7.891 kB / 0.5002 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3571, allocations: 3.375 kB / 0.5002 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.3572, allocations: 10.42 kB / 0.5002 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.3572, allocations: 7.938 kB / 0.5002 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3572, allocations: 7.188 kB / 0.5002 GB, free: 26.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.3573, allocations: 112.7 kB / 0.5003 GB, free: 26.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3573, allocations: 0 / 0.5003 GB, free: 26.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.3576, allocations: 40.42 kB / 0.5003 GB, free: 26.72 MB / 446.1 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.001809/0.3594, allocations: 0.5248 MB / 0.5009 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.3596, allocations: 45.48 kB / 0.5009 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3596, allocations: 0 / 0.5009 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.3596, allocations: 26.7 kB / 0.5009 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.36, allocations: 21.86 kB / 0.5009 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3604, allocations: 171.5 kB / 0.5011 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.167e-05/0.3604, allocations: 74.61 kB / 0.5012 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.228e-05/0.3605, allocations: 13.97 kB / 0.5012 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.3605, allocations: 18.25 kB / 0.5012 GB, free: 26.24 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3605, allocations: 4 kB / 0.5012 GB, free: 26.24 MB / 446.1 MB Notification: Performance of Templates: time 0.004519/0.365, allocations: 1.789 MB / 0.503 GB, free: 26 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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: 5.081484416034073]