Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, 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.505/1.505, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001018/0.001018, allocations: 109.8 kB / 291.9 MB, free: 10.93 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.3693/0.3693, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.00105, allocations: 55.92 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3905, allocations: 60.8 MB / 0.5064 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003132/0.3937, allocations: 1.765 MB / 0.5081 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3951, allocations: 0.8714 MB / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.3951, allocations: 0 / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.3955, allocations: 32.27 kB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.3956, allocations: 50.17 kB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.3959, allocations: 96.03 kB / 0.5091 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3961, allocations: 92.73 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3962, allocations: 10.03 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.3963, allocations: 39.09 kB / 0.5093 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.3963, allocations: 30.31 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.3964, allocations: 2.844 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.3965, allocations: 46.73 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3965, allocations: 18.53 kB / 0.5094 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.3966, allocations: 31.59 kB / 0.5094 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.3967, allocations: 108.5 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3968, allocations: 0 / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3968, allocations: 0 / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.3968, allocations: 3.938 kB / 0.5095 GB, free: 36.26 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000491/0.3973, allocations: 409 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3973, allocations: 8.781 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3974, allocations: 10.81 kB / 0.5099 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3976, allocations: 209.4 kB / 0.5101 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3976, allocations: 7.703 kB / 0.5101 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3976, allocations: 7.156 kB / 0.5101 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3978, allocations: 52.25 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3978, allocations: 3.938 kB / 0.5102 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3978, allocations: 0 / 0.5102 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3978, allocations: 2.469 kB / 0.5102 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.3979, allocations: 21.42 kB / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.3982, allocations: 285.8 kB / 0.5105 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3984, allocations: 61.36 kB / 0.5105 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.3984, allocations: 20.25 kB / 0.5106 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3984, allocations: 3.25 kB / 0.5106 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.3986, allocations: 74.61 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.3986, allocations: 4 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004758/0.3991, allocations: 173.7 kB / 0.5108 GB, free: 35.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3991, allocations: 51.41 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3993, allocations: 183.5 kB / 0.511 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.3993, allocations: 33.64 kB / 0.5111 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.3993, allocations: 101.2 kB / 0.5111 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3994, allocations: 26.73 kB / 0.5112 GB, free: 34.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.3994, allocations: 25.38 kB / 0.5112 GB, free: 34.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.3995, allocations: 332.9 kB / 0.5115 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.3995, allocations: 19.11 kB / 0.5115 GB, free: 34.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.3996, allocations: 33.02 kB / 0.5116 GB, free: 34.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.3997, allocations: 62.3 kB / 0.5116 GB, free: 34.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3997, allocations: 2.969 kB / 0.5116 GB, free: 34.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001569/0.3999, allocations: 93.67 kB / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3999, allocations: 12.88 kB / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3999, allocations: 0 / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3999, allocations: 0 / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.4, allocations: 14.62 kB / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.4001, allocations: 0 / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.4001, allocations: 13.97 kB / 0.5118 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.4001, allocations: 2.969 kB / 0.5118 GB, free: 34.26 MB / 378.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 ($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 9.212e-05/0.4002, allocations: 127.2 kB / 0.5119 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.4003, allocations: 17.66 kB / 0.5119 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.4003, allocations: 15.5 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4003, allocations: 2.875 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4003, allocations: 0 / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4003, allocations: 7.125 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.4007, allocations: 384.9 kB / 0.5123 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4007, allocations: 3.188 kB / 0.5123 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.4008, allocations: 13.81 kB / 0.5123 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4008, allocations: 7 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4008, allocations: 7.938 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4008, allocations: 2.938 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4008, allocations: 384 / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.4013, allocations: 0.7817 MB / 0.5131 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.4013, allocations: 87.8 kB / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.4014, allocations: 14.06 kB / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.4014, allocations: 0 / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4015, allocations: 6.109 kB / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4015, allocations: 5.938 kB / 0.5132 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.56e-05/0.4016, allocations: 154.8 kB / 0.5133 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4016, allocations: 0 / 0.5133 GB, free: 32.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.402, allocations: 28.11 kB / 0.5134 GB, free: 32.76 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: 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 (8): * Single equations (assignments): 6 * 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.001246/0.4032, allocations: 456.6 kB / 0.5138 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.4035, allocations: 63.81 kB / 0.5139 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4035, allocations: 4.062 kB / 0.5139 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.4035, allocations: 30.14 kB / 0.5139 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.404, allocations: 34.97 kB / 0.5139 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.4046, allocations: 365.6 kB / 0.5143 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4049, allocations: 0.7073 MB / 0.515 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.94e-05/0.405, allocations: 19.38 kB / 0.515 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.405, allocations: 15.66 kB / 0.515 GB, free: 31.48 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.405, allocations: 3.938 kB / 0.515 GB, free: 31.48 MB / 378.7 MB Notification: Performance of Templates: time 0.004047/0.4091, allocations: 1.667 MB / 0.5166 GB, free: 31.29 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches