Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 85.86 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3585/0.3585, allocations: 43.47 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.962e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.4971, allocations: 87.58 MB / 0.5583 GB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.4974, allocations: 79.28 kB / 0.5584 GB, free: 1.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01404/0.5114, allocations: 5.276 MB / 0.5636 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5115, allocations: 0 / 0.5636 GB, free: 12.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.5115, allocations: 4 kB / 0.5636 GB, free: 12.14 MB / 394.7 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.0005053/0.512, allocations: 395.9 kB / 0.5639 GB, free: 11.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.5121, allocations: 12.03 kB / 0.564 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.5121, allocations: 11.34 kB / 0.564 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.5125, allocations: 219.6 kB / 0.5642 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.5125, allocations: 0 / 0.5642 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.5125, allocations: 4 kB / 0.5642 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5127, allocations: 53.67 kB / 0.5642 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5127, allocations: 0 / 0.5642 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.5127, allocations: 5.375 kB / 0.5642 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5127, allocations: 0 / 0.5642 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.5128, allocations: 27.92 kB / 0.5643 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.5132, allocations: 288.9 kB / 0.5645 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.5134, allocations: 50.69 kB / 0.5646 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.5134, allocations: 24.98 kB / 0.5646 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.5134, allocations: 7.969 kB / 0.5646 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.5136, allocations: 68.16 kB / 0.5647 GB, free: 10.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.5136, allocations: 5.406 kB / 0.5647 GB, free: 10.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005129/0.5141, allocations: 165.1 kB / 0.5648 GB, free: 10.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.5142, allocations: 55.41 kB / 0.5649 GB, free: 10.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.5144, allocations: 169.3 kB / 0.5651 GB, free: 10.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.5145, allocations: 29.7 kB / 0.5651 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.5145, allocations: 104.1 kB / 0.5652 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.5146, allocations: 19.72 kB / 0.5652 GB, free: 10.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.5146, allocations: 0 / 0.5652 GB, free: 10.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5147, allocations: 326.8 kB / 0.5655 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.5148, allocations: 19.98 kB / 0.5655 GB, free: 9.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.5148, allocations: 30.38 kB / 0.5656 GB, free: 9.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.5149, allocations: 27.97 kB / 0.5656 GB, free: 9.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5149, allocations: 4 kB / 0.5656 GB, free: 9.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001497/0.5151, allocations: 101.4 kB / 0.5657 GB, free: 9.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5151, allocations: 4 kB / 0.5657 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5151, allocations: 0 / 0.5657 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5151, allocations: 4.188 kB / 0.5657 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.5152, allocations: 15.98 kB / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.5152, allocations: 11.83 kB / 0.5657 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.5153, allocations: 8 kB / 0.5657 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5153, allocations: 0 / 0.5657 GB, free: 9.719 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/0.5154, allocations: 111.6 kB / 0.5658 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.5154, allocations: 11.91 kB / 0.5659 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.5157, allocations: 122.3 kB / 0.566 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5157, allocations: 4 kB / 0.566 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5157, allocations: 0 / 0.566 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5157, allocations: 7.938 kB / 0.566 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.5162, allocations: 407.2 kB / 0.5664 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5162, allocations: 3.984 kB / 0.5664 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.5162, allocations: 8 kB / 0.5664 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5162, allocations: 0 / 0.5664 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5162, allocations: 8 kB / 0.5664 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.5163, allocations: 3.953 kB / 0.5664 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5163, allocations: 0 / 0.5664 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.5165, allocations: 214 kB / 0.5666 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.5166, allocations: 100.9 kB / 0.5667 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.5166, allocations: 3.953 kB / 0.5667 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.5167, allocations: 8 kB / 0.5667 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5167, allocations: 7.984 kB / 0.5667 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5167, allocations: 0 / 0.5667 GB, free: 8.609 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.5169, allocations: 144.1 kB / 0.5669 GB, free: 8.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5169, allocations: 3.938 kB / 0.5669 GB, free: 8.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.5171, allocations: 28 kB / 0.5669 GB, free: 8.438 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009997/0.5181, allocations: 425.8 kB / 0.5673 GB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.5183, allocations: 59.92 kB / 0.5673 GB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5183, allocations: 4.062 kB / 0.5673 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.088e-05/0.5184, allocations: 31.94 kB / 0.5674 GB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5186, allocations: 23.97 kB / 0.5674 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.519, allocations: 164.6 kB / 0.5676 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5194, allocations: 0.7121 MB / 0.5683 GB, free: 7.047 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.5194, allocations: 24.91 kB / 0.5683 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.5195, allocations: 15.44 kB / 0.5683 GB, free: 7.008 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5195, allocations: 0 / 0.5683 GB, free: 7.008 MB / 394.7 MB Notification: Performance of Templates: time 0.004184/0.5237, allocations: 1.679 MB / 0.5699 GB, free: 5.336 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches