Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001534/0.001534, allocations: 71.75 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.001769/0.001769, allocations: 169.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.525/1.525, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 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.2071/0.2071, allocations: 34.27 MB / 295.5 MB, free: 14.59 MB / 286.1 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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.89 kB / 443.2 MB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.333, allocations: 66.01 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002793/0.3358, allocations: 1.738 MB / 0.499 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3372, allocations: 0.9747 MB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.3373, allocations: 3.062 kB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.3376, allocations: 84.58 kB / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.3379, allocations: 121.7 kB / 0.5001 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.338, allocations: 77.02 kB / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3382, allocations: 134.4 kB / 0.5003 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3383, allocations: 11.27 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.3384, allocations: 59.39 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3385, allocations: 68.73 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3385, allocations: 6.438 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3386, allocations: 60.45 kB / 0.5005 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.3387, allocations: 25.23 kB / 0.5006 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.3387, allocations: 40.72 kB / 0.5006 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3389, allocations: 140.9 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3389, allocations: 4 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3389, allocations: 0 / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3389, allocations: 0 / 0.5007 GB, free: 27.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004403/0.3393, allocations: 373.8 kB / 0.5011 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.3394, allocations: 17.02 kB / 0.5011 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.3394, allocations: 15.25 kB / 0.5011 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.3396, allocations: 157 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3397, allocations: 4.375 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.3397, allocations: 11.16 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3398, allocations: 59.91 kB / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3398, allocations: 4 kB / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3398, allocations: 0 / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3398, allocations: 3.188 kB / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.3399, allocations: 27.73 kB / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.3402, allocations: 245.7 kB / 0.5016 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3404, allocations: 66.28 kB / 0.5017 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.3405, allocations: 22.17 kB / 0.5017 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3405, allocations: 3.188 kB / 0.5017 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.3406, allocations: 70.03 kB / 0.5018 GB, free: 26.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3406, allocations: 0 / 0.5018 GB, free: 26.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006857/0.3413, allocations: 254.4 kB / 0.502 GB, free: 26.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3413, allocations: 54.69 kB / 0.5021 GB, free: 26.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3415, allocations: 245.1 kB / 0.5023 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3415, allocations: 29.7 kB / 0.5023 GB, free: 26.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.3416, allocations: 120.5 kB / 0.5024 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.3416, allocations: 38.14 kB / 0.5025 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3416, allocations: 26.88 kB / 0.5025 GB, free: 26.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.3417, allocations: 331.8 kB / 0.5028 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.3417, allocations: 30.64 kB / 0.5029 GB, free: 25.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.3418, allocations: 44.67 kB / 0.5029 GB, free: 25.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3419, allocations: 86.5 kB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3419, allocations: 0 / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001876/0.3421, allocations: 129.7 kB / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3421, allocations: 6.531 kB / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3421, allocations: 0 / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3421, allocations: 0 / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.3422, allocations: 34.25 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3422, allocations: 0 / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3423, allocations: 7.188 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3423, allocations: 3.344 kB / 0.5032 GB, free: 25.8 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 (13): * Single equations (assignments): 13 * 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.696e-05/0.3424, allocations: 135.3 kB / 0.5033 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3424, allocations: 14.31 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.3427, allocations: 153.9 kB / 0.5034 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3427, allocations: 0 / 0.5034 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3427, allocations: 2.844 kB / 0.5034 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3427, allocations: 7.938 kB / 0.5035 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.3431, allocations: 397 kB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3431, allocations: 2.594 kB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.3431, allocations: 15.94 kB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3431, allocations: 7.922 kB / 0.5039 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3432, allocations: 2.906 kB / 0.5039 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3432, allocations: 2.844 kB / 0.5039 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3432, allocations: 0 / 0.5039 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3434, allocations: 247.5 kB / 0.5041 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.3434, allocations: 25.2 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3434, allocations: 7.031 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.3435, allocations: 0 / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3435, allocations: 13.52 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3436, allocations: 10.28 kB / 0.5042 GB, free: 25.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3437, allocations: 180.2 kB / 0.5043 GB, free: 24.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3437, allocations: 0 / 0.5043 GB, free: 24.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3439, allocations: 33.52 kB / 0.5044 GB, free: 24.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002026/0.346, allocations: 0.5515 MB / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.3462, allocations: 76.92 kB / 0.505 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.3462, allocations: 0 / 0.505 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.3463, allocations: 36.8 kB / 0.505 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3466, allocations: 35.91 kB / 0.505 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.3471, allocations: 292.5 kB / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.3471, allocations: 107.3 kB / 0.5054 GB, free: 24.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.3472, allocations: 19.78 kB / 0.5054 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.3472, allocations: 17.5 kB / 0.5055 GB, free: 24.36 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3472, allocations: 0 / 0.5055 GB, free: 24.36 MB / 446.1 MB Notification: Performance of Templates: time 0.004748/0.352, allocations: 2.08 MB / 0.5075 GB, free: 24.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.916306703933515]