Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 104.6 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4103/0.4103, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3284, allocations: 62.02 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002767/0.3313, allocations: 1.797 MB / 0.5169 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3326, allocations: 1.023 MB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.3327, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.333, allocations: 48.39 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.3332, allocations: 71.34 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.3334, allocations: 99.53 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3336, allocations: 100.8 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.3337, allocations: 12.19 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.3338, allocations: 34.08 kB / 0.5183 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.3338, allocations: 46.27 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3338, allocations: 2.812 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.3339, allocations: 40.41 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.334, allocations: 23.09 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.334, allocations: 36.05 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3342, allocations: 119.4 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3342, allocations: 0 / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3342, allocations: 0 / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3342, allocations: 2.812 kB / 0.5185 GB, free: 35.55 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.000428/0.3346, allocations: 425.5 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3347, allocations: 15.34 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3347, allocations: 10.53 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3349, allocations: 207.5 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3349, allocations: 11.28 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3349, allocations: 8.094 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3351, allocations: 57.31 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3351, allocations: 0 / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.3351, allocations: 0 / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.3351, allocations: 2.75 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.3352, allocations: 20.11 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.3354, allocations: 294.6 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.3356, allocations: 55.92 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.3356, allocations: 21.05 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3357, allocations: 4 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.3358, allocations: 69.22 kB / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3358, allocations: 0 / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004394/0.3363, allocations: 175.5 kB / 0.5198 GB, free: 34.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.3363, allocations: 55.41 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3365, allocations: 205.6 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3365, allocations: 32.05 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.3365, allocations: 104.2 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3365, allocations: 28.42 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.3366, allocations: 19.16 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.3366, allocations: 331.4 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.3367, allocations: 21.97 kB / 0.5206 GB, free: 33.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.3367, allocations: 34.72 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.3368, allocations: 69.94 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3368, allocations: 0 / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000147/0.337, allocations: 100.3 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.337, allocations: 5.719 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.337, allocations: 192 / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.337, allocations: 0 / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.3371, allocations: 22.22 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3371, allocations: 3.469 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.3372, allocations: 15.62 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3372, allocations: 7.547 kB / 0.5208 GB, free: 33.5 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 6.308e-05/0.3373, allocations: 121.9 kB / 0.521 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.3373, allocations: 14.19 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.3373, allocations: 15.19 kB / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3373, allocations: 2.969 kB / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3374, allocations: 3.422 kB / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3374, allocations: 7.938 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.3377, allocations: 396.6 kB / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3377, allocations: 0 / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.3377, allocations: 8.688 kB / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3377, allocations: 0 / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3378, allocations: 6.688 kB / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3378, allocations: 7.266 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3378, allocations: 0 / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.3381, allocations: 0.7898 MB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.3381, allocations: 90.83 kB / 0.5223 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3382, allocations: 3.156 kB / 0.5223 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.3382, allocations: 6.938 kB / 0.5223 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.3383, allocations: 6.312 kB / 0.5223 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3383, allocations: 2.969 kB / 0.5223 GB, free: 32.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.667e-05/0.3384, allocations: 158.4 kB / 0.5224 GB, free: 32.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3384, allocations: 0 / 0.5224 GB, free: 32.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000333/0.3387, allocations: 25.22 kB / 0.5225 GB, free: 32.02 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.0008188/0.3395, allocations: 466.8 kB / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.3397, allocations: 64.45 kB / 0.523 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3397, allocations: 2.656 kB / 0.523 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.3398, allocations: 32.61 kB / 0.523 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.3401, allocations: 26.08 kB / 0.523 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.3405, allocations: 390.6 kB / 0.5234 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3406, allocations: 0.7099 MB / 0.5241 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.3407, allocations: 16.84 kB / 0.5241 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.3407, allocations: 19.41 kB / 0.5241 GB, free: 30.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3407, allocations: 0 / 0.5241 GB, free: 30.71 MB / 378.7 MB Notification: Performance of Templates: time 0.003349/0.344, allocations: 1.709 MB / 0.5258 GB, free: 30.51 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches