Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001227/0.001227, allocations: 88.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.001386/0.001386, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 0.9768/0.9768, allocations: 177 MB / 205.2 MB, free: 5.055 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.2533/0.2533, allocations: 34.86 MB / 296.6 MB, free: 488 kB / 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.184e-05, allocations: 5.406 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002297/0.002318, allocations: 1.651 MB / 327.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.003063, allocations: 0.5524 MB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.003114, allocations: 4 kB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.003353, allocations: 71.7 kB / 328.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.003603, allocations: 99.53 kB / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.003823, allocations: 115.6 kB / 328.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003958, allocations: 83.7 kB / 328.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.004041, allocations: 23.97 kB / 328.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.004105, allocations: 39.91 kB / 328.6 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.004188, allocations: 39.89 kB / 328.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.004202, allocations: 4 kB / 328.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.004276, allocations: 47.92 kB / 328.7 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.004321, allocations: 19.91 kB / 328.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.004343, allocations: 15.94 kB / 328.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.004485, allocations: 95.53 kB / 328.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004488, allocations: 0 / 328.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004488, allocations: 0 / 328.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004492, allocations: 0 / 328.8 MB, free: 4.301 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003016/0.004793, allocations: 318.4 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.004826, allocations: 8.031 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.004853, allocations: 8.938 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.004973, allocations: 137.6 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.004982, allocations: 8.359 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.004999, allocations: 8.312 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.005083, allocations: 54.94 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.005091, allocations: 4.188 kB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.005097, allocations: 384 / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.0051, allocations: 384 / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.005121, allocations: 15.94 kB / 329.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.005327, allocations: 175.1 kB / 329.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.005384, allocations: 33.33 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.0054, allocations: 12.86 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.005415, allocations: 0 / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.005434, allocations: 34.56 kB / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005435, allocations: 0 / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004018/0.005837, allocations: 153.5 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.005867, allocations: 59.41 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.005969, allocations: 169.6 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.00598, allocations: 29.7 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.00601, allocations: 92.11 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.006033, allocations: 31.73 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.006061, allocations: 17.72 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.006133, allocations: 322.8 kB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.006148, allocations: 11.97 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.006162, allocations: 8 kB / 330.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.006197, allocations: 23.67 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006198, allocations: 4 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.466e-05/0.006263, allocations: 65.83 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.006274, allocations: 4 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.006278, allocations: 0 / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.006294, allocations: 3.938 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.006354, allocations: 15.98 kB / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.006356, allocations: 4 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.006374, allocations: 4 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.006381, allocations: 4 kB / 330.6 MB, free: 2.328 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 (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 5.488e-05/0.006436, allocations: 108.7 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.006455, allocations: 19.92 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.006559, allocations: 79.06 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.006562, allocations: 3.984 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006564, allocations: 0 / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006567, allocations: 432 / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.006792, allocations: 251.5 kB / 331 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006794, allocations: 0 / 331 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.006828, allocations: 15.98 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006831, allocations: 4 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-06/0.006835, allocations: 0 / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006837, allocations: 4.031 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006838, allocations: 3.938 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.917e-05/0.006927, allocations: 176.2 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.006935, allocations: 3.953 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.006945, allocations: 4 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/0.006975, allocations: 0 / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.007, allocations: 11.98 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.007004, allocations: 0 / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.007043, allocations: 52.56 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007043, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.00718, allocations: 27.94 kB / 331.3 MB, free: 1.508 MB / 298.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.001333/0.008512, allocations: 0.5551 MB / 331.9 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.008593, allocations: 36.77 kB / 331.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.008598, allocations: 8 kB / 331.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.00862, allocations: 24.78 kB / 332 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.008779, allocations: 26.8 kB / 332 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.009084, allocations: 216.3 kB / 332.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.924e-05/0.009124, allocations: 67.33 kB / 332.3 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.009159, allocations: 9.109 kB / 332.3 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.00922, allocations: 71.36 kB / 332.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.00922, allocations: 0 / 332.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of Templates: time 0.003256/0.01248, allocations: 1.51 MB / 333.9 MB, free: 15.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.9658936131745577]