Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, 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.27/1.27, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009732/0.0009734, allocations: 96.39 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3362/0.3362, allocations: 44.82 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3589, allocations: 62.03 MB / 0.5152 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003023/0.3619, allocations: 1.673 MB / 0.5168 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.3628, allocations: 0.5294 MB / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.3629, allocations: 0 / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.3632, allocations: 121.7 kB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.3635, allocations: 110 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.3637, allocations: 83.41 kB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3639, allocations: 93.8 kB / 0.5177 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.364, allocations: 15.69 kB / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.883e-05/0.3641, allocations: 41.78 kB / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3642, allocations: 89.08 kB / 0.5178 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3642, allocations: 2.875 kB / 0.5178 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.538e-05/0.3643, allocations: 42.5 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.3644, allocations: 26.94 kB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.3644, allocations: 40.5 kB / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3646, allocations: 115 kB / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3646, allocations: 0 / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3646, allocations: 0 / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3646, allocations: 0 / 0.5181 GB, free: 35.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005021/0.3652, allocations: 436.3 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.636e-05/0.3652, allocations: 8.562 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.3653, allocations: 17.77 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3655, allocations: 217.7 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3655, allocations: 3.312 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3655, allocations: 3.312 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3657, allocations: 56.06 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3657, allocations: 0 / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3657, allocations: 0 / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3657, allocations: 2.812 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.3658, allocations: 28.41 kB / 0.5188 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.3661, allocations: 307.4 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.3662, allocations: 45.23 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.3663, allocations: 17.58 kB / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3663, allocations: 7.375 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.3663, allocations: 34.56 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3664, allocations: 2.781 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007774/0.3671, allocations: 221.2 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.3672, allocations: 54.22 kB / 0.5194 GB, free: 34.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.3674, allocations: 279.8 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.3674, allocations: 29.7 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.3675, allocations: 116.7 kB / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3675, allocations: 25.56 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.3675, allocations: 20.06 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.3676, allocations: 331.2 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.3677, allocations: 24.58 kB / 0.5202 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.3677, allocations: 25.3 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3679, allocations: 61.94 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3679, allocations: 0 / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001737/0.3681, allocations: 108.9 kB / 0.5204 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3681, allocations: 6.812 kB / 0.5204 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3681, allocations: 4 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3681, allocations: 2.844 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.3682, allocations: 15.22 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3682, allocations: 2.938 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.3682, allocations: 6.875 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3683, allocations: 4 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.317e-05/0.3683, allocations: 134.5 kB / 0.5206 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.3684, allocations: 17.56 kB / 0.5206 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3686, allocations: 129.9 kB / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3686, allocations: 0 / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3686, allocations: 0 / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3686, allocations: 4.359 kB / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.369, allocations: 418.4 kB / 0.5211 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3691, allocations: 3.938 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.3691, allocations: 18.47 kB / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3691, allocations: 7.312 kB / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3691, allocations: 4 kB / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3691, allocations: 3.031 kB / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3692, allocations: 3.984 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.3696, allocations: 0.7973 MB / 0.522 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3696, allocations: 94.11 kB / 0.522 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3696, allocations: 7.938 kB / 0.5221 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.3697, allocations: 2.781 kB / 0.5221 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3698, allocations: 6.172 kB / 0.5221 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3698, allocations: 3 kB / 0.5221 GB, free: 32.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.3699, allocations: 217.4 kB / 0.5223 GB, free: 32.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3699, allocations: 0 / 0.5223 GB, free: 32.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.3703, allocations: 26.34 kB / 0.5223 GB, free: 32.31 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009188/0.3712, allocations: 453.8 kB / 0.5227 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.3714, allocations: 63.91 kB / 0.5228 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3714, allocations: 0 / 0.5228 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.3715, allocations: 37.22 kB / 0.5228 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.3718, allocations: 20.38 kB / 0.5228 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.3724, allocations: 464.2 kB / 0.5233 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3725, allocations: 0.7164 MB / 0.524 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.3726, allocations: 15.94 kB / 0.524 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.3726, allocations: 13.06 kB / 0.524 GB, free: 30.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3726, allocations: 0 / 0.524 GB, free: 30.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003669/0.3763, allocations: 1.353 MB / 0.5253 GB, free: 30.8 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches