Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 118.7 kB / 17.78 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 203.8 kB / 18.73 MB, free: 4.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3429, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003093/0.3461, allocations: 1.649 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.3471, allocations: 0.5569 MB / 0.5332 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.3471, allocations: 5.312 kB / 0.5332 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.3474, allocations: 98.36 kB / 0.5333 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.3477, allocations: 110.2 kB / 0.5334 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.348, allocations: 116.2 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3482, allocations: 103.8 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3484, allocations: 28.3 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.3484, allocations: 48.02 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3486, allocations: 57.5 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3486, allocations: 4.281 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3487, allocations: 46.83 kB / 0.5338 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.3488, allocations: 30.52 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.3489, allocations: 52.53 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3491, allocations: 131.4 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3491, allocations: 1.281 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3491, allocations: 3.938 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.3491, allocations: 0 / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006224/0.3497, allocations: 436.5 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3498, allocations: 8.906 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.3499, allocations: 15.53 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3501, allocations: 211.5 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3501, allocations: 1.5 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3502, allocations: 8.906 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3504, allocations: 79.45 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3504, allocations: 1.125 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3504, allocations: 5.219 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3504, allocations: 5.141 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3506, allocations: 40.62 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.3511, allocations: 343.9 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3512, allocations: 63.64 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.3513, allocations: 24.28 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3513, allocations: 1.25 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.3514, allocations: 35.66 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3514, allocations: 1.062 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001119/0.3525, allocations: 345.2 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3526, allocations: 58.16 kB / 0.5356 GB, free: 9.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3528, allocations: 242 kB / 0.5358 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.3528, allocations: 25.7 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.3529, allocations: 110.6 kB / 0.5359 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.353, allocations: 44.95 kB / 0.536 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.353, allocations: 24.03 kB / 0.536 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3531, allocations: 326.7 kB / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3532, allocations: 43.59 kB / 0.5364 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.3534, allocations: 49.94 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.3536, allocations: 117.1 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3536, allocations: 0 / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002804/0.3539, allocations: 155.2 kB / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3539, allocations: 5.5 kB / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3539, allocations: 0 / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3539, allocations: 9.188 kB / 0.5367 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3541, allocations: 25.52 kB / 0.5367 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3541, allocations: 0 / 0.5367 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.3541, allocations: 11.83 kB / 0.5367 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3542, allocations: 3.25 kB / 0.5367 GB, free: 9.07 MB / 398.1 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 (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 0.0001041/0.3543, allocations: 136.6 kB / 0.5369 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.3543, allocations: 14.31 kB / 0.5369 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.3547, allocations: 196.1 kB / 0.5371 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3547, allocations: 10.02 kB / 0.5371 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3547, allocations: 0 / 0.5371 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3548, allocations: 5.109 kB / 0.5371 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006477/0.3554, allocations: 0.497 MB / 0.5376 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3554, allocations: 0 / 0.5376 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.3555, allocations: 28.77 kB / 0.5376 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3555, allocations: 5.125 kB / 0.5376 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3556, allocations: 2.375 kB / 0.5376 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.3556, allocations: 5.125 kB / 0.5376 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3556, allocations: 0 / 0.5376 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.3559, allocations: 254.8 kB / 0.5378 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.356, allocations: 93.33 kB / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.356, allocations: 5.281 kB / 0.5379 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.3561, allocations: 3.188 kB / 0.5379 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3561, allocations: 9.641 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3561, allocations: 7.906 kB / 0.538 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.3563, allocations: 177.4 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3563, allocations: 1.094 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3566, allocations: 27.19 kB / 0.5381 GB, free: 7.902 MB / 398.1 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 (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 Backend phase and start with SimCode phase: time 0.001043/0.3576, allocations: 458.5 kB / 0.5386 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.3579, allocations: 121.4 kB / 0.5387 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3579, allocations: 4 kB / 0.5387 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3581, allocations: 63.62 kB / 0.5388 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3584, allocations: 22.75 kB / 0.5388 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.3591, allocations: 330.9 kB / 0.5391 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3594, allocations: 0.7272 MB / 0.5398 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.049e-05/0.3595, allocations: 20.36 kB / 0.5398 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.3596, allocations: 24.52 kB / 0.5399 GB, free: 6.594 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3596, allocations: 0 / 0.5399 GB, free: 6.594 MB / 398.1 MB Notification: Performance of Templates: time 0.00446/0.364, allocations: 1.623 MB / 0.5414 GB, free: 5.77 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches