Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, 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.273/1.273, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 104.3 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3591/0.3591, allocations: 44.84 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 64.19 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3466, allocations: 62.01 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002966/0.3496, allocations: 1.791 MB / 0.5169 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3509, allocations: 1.025 MB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.351, allocations: 6.875 kB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.3513, allocations: 53 kB / 0.518 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.3516, allocations: 89.56 kB / 0.5181 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3518, allocations: 86.44 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.352, allocations: 109.5 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.3521, allocations: 12.02 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.3521, allocations: 44.67 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.3522, allocations: 33.53 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3522, allocations: 2.938 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.3523, allocations: 47.58 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.3524, allocations: 27.28 kB / 0.5184 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.3524, allocations: 44.05 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.3526, allocations: 135.9 kB / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3526, allocations: 0 / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3526, allocations: 0 / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3526, allocations: 2.844 kB / 0.5186 GB, free: 35.54 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.0004476/0.3531, allocations: 432.5 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3531, allocations: 8.688 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.3532, allocations: 17.91 kB / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3533, allocations: 229.6 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3534, allocations: 15.33 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3534, allocations: 4.125 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.3535, allocations: 61.3 kB / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3535, allocations: 0 / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3536, allocations: 0 / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3536, allocations: 0 / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.66e-05/0.3536, allocations: 22.72 kB / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.3539, allocations: 299.5 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.3541, allocations: 57.05 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.3542, allocations: 16.67 kB / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3542, allocations: 6.109 kB / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3544, allocations: 64.62 kB / 0.5198 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3544, allocations: 11.88 kB / 0.5198 GB, free: 34.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004742/0.3548, allocations: 182.6 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.3549, allocations: 54.38 kB / 0.52 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.3551, allocations: 272.8 kB / 0.5203 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.3551, allocations: 25.7 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.3551, allocations: 119.5 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3552, allocations: 22.56 kB / 0.5204 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3552, allocations: 26.66 kB / 0.5204 GB, free: 33.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.3553, allocations: 331.9 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.3553, allocations: 22.09 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.3554, allocations: 35.53 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.477e-05/0.3555, allocations: 56.22 kB / 0.5209 GB, free: 33.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3555, allocations: 7.031 kB / 0.5209 GB, free: 33.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001514/0.3557, allocations: 107.5 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3557, allocations: 5.781 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3557, allocations: 0 / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3557, allocations: 0 / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.3558, allocations: 21.98 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3558, allocations: 0 / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3558, allocations: 10.78 kB / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3559, allocations: 2.844 kB / 0.521 GB, free: 33.45 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.308e-05/0.356, allocations: 132.5 kB / 0.5211 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.356, allocations: 21.95 kB / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.356, allocations: 18.81 kB / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.356, allocations: 0 / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.356, allocations: 0 / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3561, allocations: 13.83 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.3564, allocations: 405.9 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3564, allocations: 3.469 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.3564, allocations: 5.844 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3564, allocations: 6.938 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3564, allocations: 3.938 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3565, allocations: 2.875 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3565, allocations: 0 / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.3568, allocations: 0.7973 MB / 0.5224 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.3569, allocations: 94.7 kB / 0.5225 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3569, allocations: 7.938 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.357, allocations: 6.141 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.357, allocations: 2.812 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.357, allocations: 2.844 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.3571, allocations: 208 kB / 0.5227 GB, free: 31.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3572, allocations: 192 / 0.5227 GB, free: 31.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.3575, allocations: 28.72 kB / 0.5227 GB, free: 31.95 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.0008821/0.3584, allocations: 464.1 kB / 0.5232 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.3585, allocations: 65.94 kB / 0.5232 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3586, allocations: 0 / 0.5232 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.3586, allocations: 28.48 kB / 0.5232 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3589, allocations: 35.81 kB / 0.5233 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.3594, allocations: 452.1 kB / 0.5237 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.3596, allocations: 0.7177 MB / 0.5244 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.3596, allocations: 18.62 kB / 0.5244 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.3597, allocations: 20.72 kB / 0.5245 GB, free: 30.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3597, allocations: 2.531 kB / 0.5245 GB, free: 30.6 MB / 378.7 MB Notification: Performance of Templates: time 0.004433/0.3641, allocations: 1.724 MB / 0.5261 GB, free: 30.41 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches