Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, 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.388/1.388, 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.00105/0.00105, allocations: 98.83 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.352/0.352, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 71.88 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3471, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002975/0.3502, allocations: 1.667 MB / 0.5168 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3516, allocations: 1.14 MB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.3517, allocations: 2.938 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.3519, allocations: 29.64 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.3521, allocations: 73.12 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.3523, allocations: 98.39 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.3525, allocations: 67.94 kB / 0.5182 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3526, allocations: 31.45 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.3526, allocations: 24.38 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.3528, allocations: 36.56 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3528, allocations: 2.938 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.3529, allocations: 90.48 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.353, allocations: 20.97 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.353, allocations: 32.92 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3533, allocations: 140.8 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3533, allocations: 2.875 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3533, allocations: 4 kB / 0.5185 GB, free: 35.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3533, allocations: 0 / 0.5185 GB, free: 35.58 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004813/0.3538, allocations: 410.3 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3538, allocations: 12.53 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.3539, allocations: 7.75 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.354, allocations: 203.1 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3541, allocations: 384 / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3541, allocations: 3.281 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3542, allocations: 89.36 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3543, allocations: 2.812 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3543, allocations: 0 / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3543, allocations: 0 / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3544, allocations: 43.17 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.3548, allocations: 311.9 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3549, allocations: 55.5 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.355, allocations: 19.73 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.355, allocations: 6.281 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.355, allocations: 32.88 kB / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.355, allocations: 0 / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005898/0.3556, allocations: 199.5 kB / 0.5199 GB, free: 34.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3557, allocations: 77.11 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3558, allocations: 159.5 kB / 0.5201 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.3558, allocations: 25.7 kB / 0.5201 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.3558, allocations: 94.55 kB / 0.5202 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3559, allocations: 26.34 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.3559, allocations: 25.81 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.356, allocations: 322.3 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.356, allocations: 31.34 kB / 0.5206 GB, free: 33.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.3561, allocations: 44.78 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3563, allocations: 69.27 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3563, allocations: 0 / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001859/0.3565, allocations: 113.6 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3565, allocations: 7.188 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3565, allocations: 0 / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3565, allocations: 0 / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.3566, allocations: 22.25 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3566, allocations: 3.938 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.3567, allocations: 6.922 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3567, allocations: 6.781 kB / 0.5208 GB, free: 33.56 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 6.356e-05/0.3568, allocations: 128.4 kB / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.3568, allocations: 9.688 kB / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.357, allocations: 124.8 kB / 0.5211 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3571, allocations: 6.953 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3571, allocations: 7.875 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3571, allocations: 0 / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.3575, allocations: 404.5 kB / 0.5215 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3575, allocations: 0 / 0.5215 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.3576, allocations: 17.83 kB / 0.5215 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3576, allocations: 3.938 kB / 0.5215 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3576, allocations: 4 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3576, allocations: 2.688 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3576, allocations: 3.328 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.3581, allocations: 0.7979 MB / 0.5223 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.3581, allocations: 87.98 kB / 0.5224 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3582, allocations: 0 / 0.5224 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.3583, allocations: 6.234 kB / 0.5224 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.3583, allocations: 10.08 kB / 0.5224 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3583, allocations: 6.906 kB / 0.5224 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.3584, allocations: 119.1 kB / 0.5225 GB, free: 32.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3584, allocations: 0 / 0.5225 GB, free: 32.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004358/0.3589, allocations: 39.97 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001166/0.36, allocations: 0.4918 MB / 0.523 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.3603, allocations: 65.64 kB / 0.5231 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3603, allocations: 0 / 0.5231 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3604, allocations: 48.64 kB / 0.5232 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3608, allocations: 17.98 kB / 0.5232 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.3613, allocations: 349.6 kB / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.3615, allocations: 0.7056 MB / 0.5242 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.062e-05/0.3616, allocations: 23.72 kB / 0.5242 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.3617, allocations: 23.12 kB / 0.5242 GB, free: 30.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3617, allocations: 0 / 0.5242 GB, free: 30.73 MB / 378.7 MB Notification: Performance of Templates: time 0.004587/0.3663, allocations: 1.842 MB / 0.526 GB, free: 30.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches