Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001707/0.001707, allocations: 73.72 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.001789/0.001789, allocations: 160.8 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.488/1.488, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.2134/0.2134, allocations: 32.8 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.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [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.002507/0.002507, allocations: 59.91 kB / 440.6 MB, free: 9.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3322, allocations: 65.44 MB / 0.4942 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002475/0.3347, allocations: 1.733 MB / 0.4959 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.336, allocations: 0.9596 MB / 0.4968 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.336, allocations: 6.875 kB / 0.4968 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.3363, allocations: 45.91 kB / 0.4969 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.3365, allocations: 103.4 kB / 0.497 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.3367, allocations: 72.09 kB / 0.4971 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.3368, allocations: 108.1 kB / 0.4972 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.3369, allocations: 6.797 kB / 0.4972 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.337, allocations: 42.5 kB / 0.4972 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.3371, allocations: 38.92 kB / 0.4972 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3371, allocations: 2.969 kB / 0.4972 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.3372, allocations: 42.25 kB / 0.4973 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.3372, allocations: 20.66 kB / 0.4973 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.3373, allocations: 32.97 kB / 0.4973 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.3374, allocations: 127.7 kB / 0.4975 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3374, allocations: 0 / 0.4975 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3374, allocations: 0 / 0.4975 GB, free: 29.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3374, allocations: 0 / 0.4975 GB, free: 29.36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004245/0.3379, allocations: 356.1 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.3379, allocations: 8.781 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.3379, allocations: 11.02 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3381, allocations: 151.7 kB / 0.498 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3381, allocations: 4.375 kB / 0.498 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3381, allocations: 18.94 kB / 0.498 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3383, allocations: 56.55 kB / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3383, allocations: 0 / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3383, allocations: 3.344 kB / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3383, allocations: 0 / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.3384, allocations: 21.05 kB / 0.4981 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.3386, allocations: 242.3 kB / 0.4983 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3388, allocations: 58.66 kB / 0.4983 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.3388, allocations: 18.62 kB / 0.4984 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.3389, allocations: 7.469 kB / 0.4984 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.339, allocations: 70.83 kB / 0.4984 GB, free: 28.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.339, allocations: 0 / 0.4984 GB, free: 28.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004857/0.3395, allocations: 180.7 kB / 0.4986 GB, free: 28.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.3395, allocations: 55.41 kB / 0.4987 GB, free: 28.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3396, allocations: 222.7 kB / 0.4989 GB, free: 28.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.3397, allocations: 29.27 kB / 0.4989 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.3397, allocations: 106.3 kB / 0.499 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.3397, allocations: 22.62 kB / 0.499 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.3397, allocations: 27.58 kB / 0.4991 GB, free: 28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.3398, allocations: 329.2 kB / 0.4994 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.3398, allocations: 24.06 kB / 0.4994 GB, free: 27.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.3399, allocations: 36.75 kB / 0.4994 GB, free: 27.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.34, allocations: 58.58 kB / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.34, allocations: 0 / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001591/0.3402, allocations: 112.8 kB / 0.4996 GB, free: 27.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3402, allocations: 3.219 kB / 0.4996 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3402, allocations: 7.344 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3402, allocations: 0 / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.3403, allocations: 15.48 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3403, allocations: 3.094 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3403, allocations: 7.234 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3403, allocations: 3.312 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.632e-05/0.3404, allocations: 131.5 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.3404, allocations: 14.38 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.3406, allocations: 128.2 kB / 0.4999 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3406, allocations: 3.516 kB / 0.4999 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3406, allocations: 7.938 kB / 0.4999 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3406, allocations: 0 / 0.4999 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.341, allocations: 357.7 kB / 0.5002 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.341, allocations: 0 / 0.5002 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.341, allocations: 13.75 kB / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.341, allocations: 0 / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.341, allocations: 3.188 kB / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.341, allocations: 0 / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.341, allocations: 4.312 kB / 0.5003 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3412, allocations: 224.2 kB / 0.5005 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.3412, allocations: 7.172 kB / 0.5005 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3412, allocations: 10.7 kB / 0.5005 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.209e-05/0.3413, allocations: 0 / 0.5005 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.3413, allocations: 14.61 kB / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3414, allocations: 3.219 kB / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.262e-05/0.3415, allocations: 163.4 kB / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3415, allocations: 0 / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3417, allocations: 16.22 kB / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001741/0.3435, allocations: 0.4985 MB / 0.5012 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.3436, allocations: 57.27 kB / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3436, allocations: 0 / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.777e-05/0.3437, allocations: 34.34 kB / 0.5013 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.344, allocations: 30.89 kB / 0.5013 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.3444, allocations: 249.7 kB / 0.5015 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.167e-05/0.3445, allocations: 97.12 kB / 0.5016 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.168e-05/0.3445, allocations: 17.97 kB / 0.5016 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3445, allocations: 17.97 kB / 0.5016 GB, free: 26.21 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3445, allocations: 4 kB / 0.5017 GB, free: 26.2 MB / 446.1 MB Notification: Performance of Templates: time 0.004303/0.3488, allocations: 1.843 MB / 0.5035 GB, free: 25.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.978194704046473]