Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001155, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.0009974, allocations: 101.2 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4233/0.4233, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3725, allocations: 60.81 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003135/0.3757, allocations: 1.67 MB / 0.508 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000691/0.3764, allocations: 434.2 kB / 0.5084 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.3764, allocations: 3.938 kB / 0.5084 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.3767, allocations: 92.25 kB / 0.5085 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3769, allocations: 53.06 kB / 0.5086 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3771, allocations: 106.5 kB / 0.5087 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3773, allocations: 87.98 kB / 0.5088 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3774, allocations: 33.41 kB / 0.5088 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.3775, allocations: 39.64 kB / 0.5088 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3776, allocations: 60.73 kB / 0.5089 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3776, allocations: 3.312 kB / 0.5089 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.3777, allocations: 42.22 kB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.3778, allocations: 26.91 kB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.3778, allocations: 37.91 kB / 0.509 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.378, allocations: 129.8 kB / 0.5091 GB, free: 36.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.378, allocations: 0.75 kB / 0.5091 GB, free: 36.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.378, allocations: 0 / 0.5091 GB, free: 36.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.378, allocations: 0 / 0.5091 GB, free: 36.59 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004865/0.3785, allocations: 430.9 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3786, allocations: 9.125 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.3786, allocations: 11.03 kB / 0.5096 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3788, allocations: 206.6 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.3788, allocations: 3.125 kB / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3789, allocations: 17.3 kB / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.379, allocations: 78.03 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3791, allocations: 0 / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3791, allocations: 0 / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3791, allocations: 3.062 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3792, allocations: 43.67 kB / 0.5099 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.3796, allocations: 342.2 kB / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3797, allocations: 66.86 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.3798, allocations: 27.97 kB / 0.5103 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3798, allocations: 3.188 kB / 0.5103 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3799, allocations: 33.31 kB / 0.5103 GB, free: 35.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3799, allocations: 4 kB / 0.5103 GB, free: 35.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009537/0.3808, allocations: 333.3 kB / 0.5107 GB, free: 35.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.3809, allocations: 54.25 kB / 0.5107 GB, free: 35.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.381, allocations: 233.9 kB / 0.5109 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.3811, allocations: 29.7 kB / 0.511 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.3811, allocations: 115.8 kB / 0.5111 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.3811, allocations: 40.31 kB / 0.5111 GB, free: 34.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.3812, allocations: 29.64 kB / 0.5111 GB, free: 34.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.3813, allocations: 327.8 kB / 0.5115 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.112e-05/0.3814, allocations: 45.14 kB / 0.5115 GB, free: 34.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.3814, allocations: 48.34 kB / 0.5115 GB, free: 34.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.3816, allocations: 109.4 kB / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3816, allocations: 0 / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002271/0.3819, allocations: 158.4 kB / 0.5118 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3819, allocations: 5.438 kB / 0.5118 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3819, allocations: 0 / 0.5118 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3819, allocations: 13.72 kB / 0.5118 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.382, allocations: 25.03 kB / 0.5118 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3821, allocations: 4 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.3821, allocations: 3 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3821, allocations: 5.547 kB / 0.5119 GB, free: 34.46 MB / 378.7 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 (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 7.756e-05/0.3822, allocations: 140.3 kB / 0.512 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.3822, allocations: 17.03 kB / 0.512 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.3826, allocations: 186.4 kB / 0.5122 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3826, allocations: 0 / 0.5122 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3826, allocations: 2.688 kB / 0.5122 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3826, allocations: 3.422 kB / 0.5122 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.3831, allocations: 0.497 MB / 0.5127 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3831, allocations: 0 / 0.5127 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.3832, allocations: 29.25 kB / 0.5127 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3832, allocations: 0 / 0.5127 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3832, allocations: 2.562 kB / 0.5127 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3832, allocations: 0 / 0.5127 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3832, allocations: 2.531 kB / 0.5127 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.3838, allocations: 0.8734 MB / 0.5136 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.3838, allocations: 87.3 kB / 0.5136 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.3838, allocations: 4 kB / 0.5136 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.3839, allocations: 5.812 kB / 0.5137 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.384, allocations: 14.3 kB / 0.5137 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.384, allocations: 9.016 kB / 0.5137 GB, free: 32.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.3841, allocations: 168.7 kB / 0.5138 GB, free: 32.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.3841, allocations: 4 kB / 0.5138 GB, free: 32.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.3844, allocations: 32.41 kB / 0.5139 GB, free: 32.83 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008846/0.3853, allocations: 463.9 kB / 0.5143 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3856, allocations: 108.7 kB / 0.5144 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3856, allocations: 0 / 0.5144 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3857, allocations: 53.61 kB / 0.5145 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.386, allocations: 26.64 kB / 0.5145 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.3866, allocations: 0.5094 MB / 0.515 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3867, allocations: 0.7255 MB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.171e-05/0.3868, allocations: 27.78 kB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.3869, allocations: 15.5 kB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3869, allocations: 0 / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of Templates: time 0.003704/0.3906, allocations: 1.543 MB / 0.5172 GB, free: 31.28 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches