Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, 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.34/1.34, 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.0009778/0.0009777, allocations: 96.27 kB / 291.9 MB, free: 10.95 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.3575/0.3575, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 59.91 kB / 457.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3089, allocations: 60.8 MB / 0.5064 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002792/0.3117, allocations: 1.765 MB / 0.5081 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3127, allocations: 0.8657 MB / 0.509 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.3128, allocations: 0 / 0.509 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.3131, allocations: 37.8 kB / 0.509 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.3132, allocations: 47.27 kB / 0.509 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3135, allocations: 93.47 kB / 0.5091 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3136, allocations: 97.95 kB / 0.5092 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.3137, allocations: 13.61 kB / 0.5092 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.3138, allocations: 35.64 kB / 0.5093 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.3139, allocations: 33.06 kB / 0.5093 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3139, allocations: 6.844 kB / 0.5093 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.804e-05/0.314, allocations: 41.41 kB / 0.5093 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.314, allocations: 13 kB / 0.5094 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.3141, allocations: 39.48 kB / 0.5094 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3142, allocations: 102.5 kB / 0.5095 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3143, allocations: 3.938 kB / 0.5095 GB, free: 36.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3143, allocations: 7.906 kB / 0.5095 GB, free: 36.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.3143, allocations: 0 / 0.5095 GB, free: 36.35 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.0003916/0.3147, allocations: 404.6 kB / 0.5099 GB, free: 35.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.3147, allocations: 12.56 kB / 0.5099 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.3148, allocations: 13.69 kB / 0.5099 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3149, allocations: 209.6 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3149, allocations: 4.359 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.315, allocations: 7.094 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3151, allocations: 55.92 kB / 0.5102 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3151, allocations: 0 / 0.5102 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3151, allocations: 2.812 kB / 0.5102 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3151, allocations: 3.375 kB / 0.5102 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.3152, allocations: 16.48 kB / 0.5102 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/0.3155, allocations: 292.1 kB / 0.5105 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3156, allocations: 59.47 kB / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.3157, allocations: 17.33 kB / 0.5106 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3157, allocations: 2.906 kB / 0.5106 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.3159, allocations: 68.67 kB / 0.5106 GB, free: 35.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3159, allocations: 2.781 kB / 0.5106 GB, free: 35.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004347/0.3163, allocations: 180.3 kB / 0.5108 GB, free: 35.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.3163, allocations: 54.31 kB / 0.5109 GB, free: 35.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3165, allocations: 188 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.3165, allocations: 25.7 kB / 0.5111 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.3165, allocations: 107.5 kB / 0.5112 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.3165, allocations: 22.62 kB / 0.5112 GB, free: 34.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.3166, allocations: 25.48 kB / 0.5112 GB, free: 34.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.3166, allocations: 324.8 kB / 0.5115 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.3167, allocations: 21.95 kB / 0.5115 GB, free: 34.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.3167, allocations: 39.09 kB / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.3168, allocations: 59.88 kB / 0.5116 GB, free: 34.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3168, allocations: 0 / 0.5116 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001447/0.317, allocations: 100.8 kB / 0.5117 GB, free: 34.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.317, allocations: 10.62 kB / 0.5117 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.317, allocations: 2.875 kB / 0.5117 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.317, allocations: 0 / 0.5117 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.3171, allocations: 11.81 kB / 0.5117 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3171, allocations: 2.281 kB / 0.5118 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.3172, allocations: 14.22 kB / 0.5118 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3172, allocations: 10.88 kB / 0.5118 GB, free: 34.34 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 5.855e-05/0.3172, allocations: 122.2 kB / 0.5119 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.3173, allocations: 16.92 kB / 0.5119 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.3173, allocations: 14 kB / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3173, allocations: 0 / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3173, allocations: 0 / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3173, allocations: 3.938 kB / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.3176, allocations: 397.5 kB / 0.5123 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3176, allocations: 0 / 0.5123 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.3177, allocations: 5.719 kB / 0.5123 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3177, allocations: 2.812 kB / 0.5123 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3177, allocations: 7.312 kB / 0.5123 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3177, allocations: 2.781 kB / 0.5123 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3177, allocations: 0 / 0.5123 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.318, allocations: 0.7859 MB / 0.5131 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3181, allocations: 87.86 kB / 0.5132 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3181, allocations: 2.844 kB / 0.5132 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.3182, allocations: 4 kB / 0.5132 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.3182, allocations: 9.266 kB / 0.5132 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3182, allocations: 6.781 kB / 0.5132 GB, free: 32.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.3183, allocations: 146 kB / 0.5133 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3183, allocations: 4 kB / 0.5133 GB, free: 32.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000332/0.3186, allocations: 29.64 kB / 0.5134 GB, free: 32.86 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.0008547/0.3195, allocations: 466.1 kB / 0.5138 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3197, allocations: 59.67 kB / 0.5139 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3197, allocations: 3.938 kB / 0.5139 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/0.3197, allocations: 31.31 kB / 0.5139 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.32, allocations: 37.73 kB / 0.5139 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.3204, allocations: 368.7 kB / 0.5143 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3205, allocations: 0.7031 MB / 0.515 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.3206, allocations: 22.67 kB / 0.515 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3206, allocations: 18.78 kB / 0.515 GB, free: 31.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3206, allocations: 0 / 0.515 GB, free: 31.56 MB / 378.7 MB Notification: Performance of Templates: time 0.003471/0.3241, allocations: 1.672 MB / 0.5166 GB, free: 31.38 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches