Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1/1, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2747/0.2747, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.081e-05, allocations: 3.156 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002311/0.002341, allocations: 1.653 MB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008069/0.003148, allocations: 0.5562 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.003204, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.003711, allocations: 459.1 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.004093, allocations: 299.1 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.004415, allocations: 167.5 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.004596, allocations: 171.6 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004697, allocations: 11.84 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.004816, allocations: 119.7 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.005002, allocations: 243.6 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.005021, allocations: 4 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.537e-05/0.005087, allocations: 23.94 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.005174, allocations: 87.69 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.005213, allocations: 31.75 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.005423, allocations: 191.2 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005426, allocations: 0 / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005427, allocations: 3.938 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005432, allocations: 0 / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005324/0.005964, allocations: 0.6854 MB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.005999, allocations: 8.031 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.006056, allocations: 48.66 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.006238, allocations: 244.9 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.006246, allocations: 384 / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.006259, allocations: 8.375 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.006372, allocations: 58.94 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006379, allocations: 192 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.006389, allocations: 4.375 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006395, allocations: 384 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.006419, allocations: 11.88 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.006805, allocations: 419.7 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.179e-05/0.006857, allocations: 35.06 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.006879, allocations: 15.75 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.006899, allocations: 3.938 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.006922, allocations: 41.31 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.006923, allocations: 0 / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001577/0.007081, allocations: 81.42 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.007108, allocations: 51.41 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.007518, allocations: 0.6354 MB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.00753, allocations: 25.7 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.007669, allocations: 282.9 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.007687, allocations: 11.95 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.007714, allocations: 19.38 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.007871, allocations: 0.5508 MB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.007886, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.007894, allocations: 7.938 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.007923, allocations: 15.69 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007925, allocations: 0 / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.713e-05/0.008002, allocations: 81.41 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.008015, allocations: 7.938 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.008019, allocations: 4.094 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.008032, allocations: 0 / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.008093, allocations: 4 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.008099, allocations: 0 / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.008122, allocations: 11.94 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.008128, allocations: 3.984 kB / 386.1 MB, free: 10.51 MB / 362.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 (2): * Single equations (assignments): 2 * 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.745e-05/0.008206, allocations: 156.5 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.00824, allocations: 47.66 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.008359, allocations: 72.75 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008361, allocations: 4.031 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008364, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.008366, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.008564, allocations: 284.5 kB / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008565, allocations: 0 / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.008589, allocations: 4 kB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008591, allocations: 0 / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.008598, allocations: 3.938 kB / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0086, allocations: 0 / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.008602, allocations: 4 kB / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.008725, allocations: 231.6 kB / 386.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.00875, allocations: 35.75 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.008765, allocations: 7.938 kB / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.008801, allocations: 0 / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.008814, allocations: 0 / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.008817, allocations: 3.984 kB / 386.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002424/0.00906, allocations: 426.8 kB / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00906, allocations: 0 / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.009243, allocations: 27.92 kB / 387.4 MB, free: 9.16 MB / 362.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 (2): * Single equations (assignments): 2 * 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.0006767/0.009919, allocations: 309.4 kB / 387.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.741e-05/0.009997, allocations: 23.61 kB / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.009999, allocations: 0 / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.01001, allocations: 11.69 kB / 387.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01026, allocations: 29.91 kB / 387.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.01086, allocations: 0.5652 MB / 388.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.01093, allocations: 119.2 kB / 388.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.585e-05/0.01096, allocations: 19.91 kB / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.01099, allocations: 16.5 kB / 388.5 MB, free: 8.102 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01099, allocations: 0 / 388.5 MB, free: 8.102 MB / 362.7 MB Notification: Performance of Templates: time 0.00373/0.01472, allocations: 1.148 MB / 389.6 MB, free: 6.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1908270777203143]