Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.00134/0.00134, allocations: 69.8 kB / 21.24 MB, free: 0.5547 MB / 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.001476/0.001476, allocations: 162.3 kB / 24.5 MB, free: 3.715 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.441/1.441, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.1979/0.1979, allocations: 32.81 MB / 294.1 MB, free: 20 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.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") [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.002052/0.002052, allocations: 64.19 kB / 440.6 MB, free: 9.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 65.44 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002658/0.3548, allocations: 1.602 MB / 0.4957 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000886/0.3557, allocations: 0.5319 MB / 0.4962 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.3558, allocations: 2.938 kB / 0.4962 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.356, allocations: 18.23 kB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.3562, allocations: 80.47 kB / 0.4963 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.3565, allocations: 105.6 kB / 0.4964 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3567, allocations: 73.12 kB / 0.4965 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3568, allocations: 11.05 kB / 0.4965 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.3568, allocations: 25.14 kB / 0.4965 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.3569, allocations: 21.75 kB / 0.4966 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3569, allocations: 3.156 kB / 0.4966 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.357, allocations: 37.89 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.357, allocations: 11.25 kB / 0.4966 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.3571, allocations: 18.41 kB / 0.4966 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.3572, allocations: 76.98 kB / 0.4967 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3572, allocations: 3.219 kB / 0.4967 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3572, allocations: 0 / 0.4967 GB, free: 29.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3572, allocations: 4 kB / 0.4967 GB, free: 29.74 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.0004219/0.3577, allocations: 315.6 kB / 0.497 GB, free: 29.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3577, allocations: 9.625 kB / 0.497 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.3577, allocations: 11.66 kB / 0.497 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3579, allocations: 129.9 kB / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3579, allocations: 3.594 kB / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3579, allocations: 384 / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3581, allocations: 57.91 kB / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3581, allocations: 0 / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3581, allocations: 0 / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3581, allocations: 7.938 kB / 0.4972 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3582, allocations: 30.19 kB / 0.4973 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.3585, allocations: 226.5 kB / 0.4975 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3587, allocations: 41.23 kB / 0.4975 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.3588, allocations: 17.64 kB / 0.4975 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3588, allocations: 3.312 kB / 0.4975 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3588, allocations: 34.5 kB / 0.4976 GB, free: 28.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3588, allocations: 0 / 0.4976 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005741/0.3594, allocations: 159 kB / 0.4977 GB, free: 28.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3594, allocations: 51.41 kB / 0.4978 GB, free: 28.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3595, allocations: 144.6 kB / 0.4979 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3595, allocations: 33.02 kB / 0.4979 GB, free: 28.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.3596, allocations: 91.27 kB / 0.498 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.3596, allocations: 23.25 kB / 0.498 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.3596, allocations: 20.16 kB / 0.4981 GB, free: 28.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.3597, allocations: 325.4 kB / 0.4984 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.3598, allocations: 24.84 kB / 0.4984 GB, free: 28.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.3598, allocations: 28.03 kB / 0.4984 GB, free: 28.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.36, allocations: 52.25 kB / 0.4985 GB, free: 28.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.36, allocations: 0 / 0.4985 GB, free: 28.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001646/0.3601, allocations: 88.2 kB / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3601, allocations: 6.5 kB / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3601, allocations: 4 kB / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3602, allocations: 0 / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.3602, allocations: 13.02 kB / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3602, allocations: 0 / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.3603, allocations: 10.45 kB / 0.4986 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3603, allocations: 3.188 kB / 0.4986 GB, free: 28.1 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 6.116e-05/0.3603, allocations: 120.8 kB / 0.4987 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.3604, allocations: 7.234 kB / 0.4987 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.3606, allocations: 105 kB / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3606, allocations: 0 / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3606, allocations: 0 / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3606, allocations: 3.094 kB / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.3609, allocations: 294.5 kB / 0.4991 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3609, allocations: 0 / 0.4991 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.361, allocations: 17.97 kB / 0.4991 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.361, allocations: 0 / 0.4991 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.361, allocations: 0 / 0.4991 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.361, allocations: 11.38 kB / 0.4991 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.361, allocations: 7.156 kB / 0.4991 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.3612, allocations: 181.1 kB / 0.4993 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.3612, allocations: 11.23 kB / 0.4993 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3612, allocations: 0 / 0.4993 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.3613, allocations: 10.7 kB / 0.4993 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.3613, allocations: 0 / 0.4993 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.3613, allocations: 7.125 kB / 0.4993 GB, free: 27.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.3614, allocations: 114.3 kB / 0.4994 GB, free: 27.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3614, allocations: 0 / 0.4994 GB, free: 27.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.3616, allocations: 25.36 kB / 0.4995 GB, free: 27.38 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.001522/0.3631, allocations: 434 kB / 0.4999 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3633, allocations: 57.92 kB / 0.4999 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3633, allocations: 0 / 0.4999 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.3634, allocations: 23.41 kB / 0.5 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3638, allocations: 20.56 kB / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.3642, allocations: 191.5 kB / 0.5002 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.995e-05/0.3642, allocations: 85.11 kB / 0.5002 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.3643, allocations: 24.94 kB / 0.5003 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.3643, allocations: 15.69 kB / 0.5003 GB, free: 26.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3643, allocations: 0 / 0.5003 GB, free: 26.91 MB / 446.1 MB Notification: Performance of Templates: time 0.003751/0.368, allocations: 1.151 MB / 0.5014 GB, free: 26.74 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.929711204022169]