Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001516/0.001516, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001097/0.001097, allocations: 161 kB / 24.91 MB, free: 9.184 MB / 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.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.465 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.2521/0.2521, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.584e-05, allocations: 6.547 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003482/0.003507, allocations: 1.638 MB / 327.6 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.004467, allocations: 0.5369 MB / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.004531, allocations: 0 / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.004733, allocations: 23.8 kB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.005047, allocations: 83.55 kB / 328.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.005303, allocations: 87.69 kB / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.005442, allocations: 67.78 kB / 328.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.005526, allocations: 11.98 kB / 328.4 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.005584, allocations: 31.91 kB / 328.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.005636, allocations: 19.92 kB / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.005648, allocations: 0 / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.00572, allocations: 35.92 kB / 328.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.005766, allocations: 7.938 kB / 328.5 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.005792, allocations: 19.92 kB / 328.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.005927, allocations: 67.69 kB / 328.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005929, allocations: 4 kB / 328.6 MB, free: 4.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.00593, allocations: 0 / 328.6 MB, free: 4.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.005934, allocations: 0 / 328.6 MB, free: 4.52 MB / 298.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.0003083/0.006242, allocations: 282.7 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.00627, allocations: 8.031 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.196e-05/0.006292, allocations: 8.938 kB / 328.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.006402, allocations: 133.6 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.00641, allocations: 384 / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.00643, allocations: 4.375 kB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.121e-05/0.006512, allocations: 66.81 kB / 329 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006522, allocations: 192 / 329 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.006528, allocations: 384 / 329 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.006531, allocations: 384 / 329 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/0.006547, allocations: 7.938 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.006737, allocations: 159.1 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.006851, allocations: 42.5 kB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.006867, allocations: 8.953 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.006881, allocations: 4.047 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.006899, allocations: 34.56 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.0069, allocations: 0 / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002336/0.007134, allocations: 85.48 kB / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.007235, allocations: 51.41 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.007315, allocations: 145.5 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.007325, allocations: 29.7 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.007351, allocations: 84.14 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.007376, allocations: 31.77 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.007401, allocations: 17.72 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.007476, allocations: 318.8 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-06/0.007485, allocations: 4 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.007495, allocations: 4 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.007522, allocations: 20.84 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.007523, allocations: 0 / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.265e-05/0.007566, allocations: 49.81 kB / 330.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.007577, allocations: 8 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007581, allocations: 3.938 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.00759, allocations: 4 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.769e-05/0.007628, allocations: 11.98 kB / 330.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-06/0.007629, allocations: 0 / 330.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.007648, allocations: 8 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.007651, allocations: 0 / 330.2 MB, free: 2.754 MB / 298.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 (5): * Single equations (assignments): 5 * 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 5.377e-05/0.007705, allocations: 108.7 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.007721, allocations: 7.984 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.644e-05/0.007808, allocations: 74 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.007809, allocations: 0 / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.00781, allocations: 3.938 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007813, allocations: 4 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.007979, allocations: 202.8 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.00798, allocations: 0 / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.008006, allocations: 11.94 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.008008, allocations: 3.938 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.008012, allocations: 4 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.008013, allocations: 0 / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.008014, allocations: 0 / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.749e-05/0.008082, allocations: 143.5 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.008091, allocations: 11.95 kB / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.008099, allocations: 4.188 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.008129, allocations: 8 kB / 330.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.008152, allocations: 7.984 kB / 330.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.008155, allocations: 0 / 330.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.009e-05/0.008185, allocations: 38.75 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008185, allocations: 0 / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000133/0.008318, allocations: 11.94 kB / 330.8 MB, free: 2.062 MB / 298.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 (5): * Single equations (assignments): 5 * 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.001217/0.009535, allocations: 0.4962 MB / 331.3 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.889e-05/0.009614, allocations: 20.84 kB / 331.3 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.009618, allocations: 4 kB / 331.3 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.009635, allocations: 12.86 kB / 331.3 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.009793, allocations: 19.36 kB / 331.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.01021, allocations: 179.4 kB / 331.5 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.01025, allocations: 59.34 kB / 331.6 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.01028, allocations: 15.97 kB / 331.6 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.01033, allocations: 55.38 kB / 331.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01033, allocations: 4 kB / 331.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of Templates: time 0.003036/0.01337, allocations: 1.226 MB / 332.9 MB, free: 176 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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: 2.907356700859964]