Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001769/0.001769, 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.372/1.372, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009533/0.0009532, allocations: 114.5 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3495/0.3495, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009867/0.0009867, allocations: 59.91 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3311, allocations: 62.01 MB / 0.5152 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002462/0.3336, allocations: 1.805 MB / 0.5169 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3349, allocations: 1.04 MB / 0.5179 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.335, allocations: 3.938 kB / 0.5179 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.3352, allocations: 36.66 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.3354, allocations: 80.41 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3357, allocations: 99.67 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3358, allocations: 100.3 kB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.3359, allocations: 14.58 kB / 0.5183 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.3359, allocations: 46.66 kB / 0.5183 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.336, allocations: 38 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.336, allocations: 2.938 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3362, allocations: 107.7 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.3362, allocations: 18.12 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.3363, allocations: 34.33 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3364, allocations: 170.5 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3365, allocations: 0 / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.3365, allocations: 0 / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.525e-06/0.3365, allocations: 0 / 0.5187 GB, free: 35.41 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.0003332/0.3368, allocations: 442.3 kB / 0.5191 GB, free: 34.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.114e-05/0.3368, allocations: 8.75 kB / 0.5191 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3369, allocations: 18.08 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.337, allocations: 209.9 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.337, allocations: 4.312 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.3371, allocations: 4.125 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3372, allocations: 67.66 kB / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3372, allocations: 0 / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.3372, allocations: 10.91 kB / 0.5194 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-06/0.3372, allocations: 0 / 0.5194 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.3373, allocations: 20.02 kB / 0.5194 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.3375, allocations: 281.1 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3376, allocations: 64.5 kB / 0.5197 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.3377, allocations: 39.05 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3377, allocations: 0 / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3379, allocations: 71.19 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3379, allocations: 0 / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004896/0.3384, allocations: 201.8 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3384, allocations: 80.05 kB / 0.5201 GB, free: 34.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3386, allocations: 167.9 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3386, allocations: 29.7 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.3386, allocations: 101.2 kB / 0.5204 GB, free: 33.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3387, allocations: 33.67 kB / 0.5204 GB, free: 33.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.3387, allocations: 29.28 kB / 0.5205 GB, free: 33.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.3388, allocations: 324.2 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.3389, allocations: 33.64 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.3389, allocations: 46.31 kB / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3391, allocations: 77.83 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3391, allocations: 2.719 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000189/0.3393, allocations: 125 kB / 0.521 GB, free: 33.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.3393, allocations: 2.969 kB / 0.521 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3393, allocations: 6.328 kB / 0.521 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3393, allocations: 0 / 0.521 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.3394, allocations: 21.53 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3394, allocations: 3.422 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3395, allocations: 10.75 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3395, allocations: 6.938 kB / 0.5211 GB, free: 33.29 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 (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.609e-05/0.3396, allocations: 123.5 kB / 0.5212 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3396, allocations: 17 kB / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.3396, allocations: 11.62 kB / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3396, allocations: 0 / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3397, allocations: 6.906 kB / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3397, allocations: 3.938 kB / 0.5212 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.34, allocations: 432.5 kB / 0.5217 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3401, allocations: 0 / 0.5217 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.3401, allocations: 16.2 kB / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3401, allocations: 0 / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3401, allocations: 6.844 kB / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3401, allocations: 0 / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3401, allocations: 2.906 kB / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.3405, allocations: 0.8109 MB / 0.5225 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.3406, allocations: 87.88 kB / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.3406, allocations: 2.812 kB / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.3407, allocations: 6.125 kB / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.3407, allocations: 10.55 kB / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3407, allocations: 3.062 kB / 0.5226 GB, free: 31.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.375e-05/0.3408, allocations: 133.3 kB / 0.5227 GB, free: 31.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3408, allocations: 0 / 0.5227 GB, free: 31.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.3412, allocations: 58.62 kB / 0.5228 GB, free: 31.77 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 (10): * Single equations (assignments): 8 * 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.001075/0.3423, allocations: 0.5623 MB / 0.5233 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.3425, allocations: 80.14 kB / 0.5234 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3425, allocations: 2.844 kB / 0.5234 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.3426, allocations: 31.25 kB / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3429, allocations: 29.34 kB / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.3433, allocations: 370.2 kB / 0.5238 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.3434, allocations: 0.7015 MB / 0.5245 GB, free: 30.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.3435, allocations: 29.33 kB / 0.5245 GB, free: 30.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.3435, allocations: 25.05 kB / 0.5245 GB, free: 30.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3435, allocations: 2.781 kB / 0.5245 GB, free: 30.42 MB / 378.7 MB Notification: Performance of Templates: time 0.00421/0.3477, allocations: 2.494 MB / 0.527 GB, free: 30.14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches