Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001024/0.001024, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001241/0.001241, allocations: 157.1 kB / 25.6 MB, free: 8.477 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.026/1.026, allocations: 177 MB / 205.9 MB, free: 4.445 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.1606/0.1606, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.Test12,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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.416e-05, allocations: 4.438 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002122/0.002146, allocations: 1.629 MB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006994/0.002845, allocations: 0.5329 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.002905, allocations: 0 / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.003122, allocations: 31.8 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.00336, allocations: 87.53 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.003593, allocations: 107.7 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003729, allocations: 71.77 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.003819, allocations: 7.984 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.003877, allocations: 23.92 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.003936, allocations: 19.92 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.003951, allocations: 8 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.004018, allocations: 31.92 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.00406, allocations: 19.91 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.004082, allocations: 15.94 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.004201, allocations: 71.69 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004203, allocations: 0 / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004204, allocations: 0 / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004209, allocations: 4 kB / 382.7 MB, free: 20.05 MB / 314.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.0003212/0.00453, allocations: 416.1 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.004561, allocations: 12.03 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.00459, allocations: 12.89 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.00471, allocations: 141 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.004721, allocations: 384 / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.004744, allocations: 12.31 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.385e-05/0.004828, allocations: 50.94 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.004837, allocations: 4.125 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.004844, allocations: 8.125 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.004848, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.004867, allocations: 4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.005062, allocations: 256.4 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.005175, allocations: 46.98 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.00519, allocations: 11.69 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.005205, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.005222, allocations: 45.31 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.005222, allocations: 0 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002424/0.005465, allocations: 93.56 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.005483, allocations: 51.41 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.005559, allocations: 206.9 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.005565, allocations: 29.7 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.005597, allocations: 150.8 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.005614, allocations: 19.88 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.005638, allocations: 23.38 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.005685, allocations: 0.4923 MB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.005696, allocations: 4 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.005707, allocations: 4 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.005734, allocations: 23.88 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005735, allocations: 3.984 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.629e-05/0.005791, allocations: 61.53 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.005803, allocations: 4 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005807, allocations: 0 / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.005817, allocations: 4 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.005863, allocations: 15.98 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.005866, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.005882, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.005888, allocations: 8 kB / 384.9 MB, free: 17.67 MB / 314.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.157e-05/0.00594, allocations: 152.6 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.00596, allocations: 15.88 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.006066, allocations: 77.97 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006067, allocations: 3.938 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.006069, allocations: 0 / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.006076, allocations: 7.984 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.006258, allocations: 298 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.00626, allocations: 0 / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.00629, allocations: 15.94 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.006293, allocations: 0 / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006299, allocations: 4 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.0063, allocations: 192 / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.006302, allocations: 4 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.938e-05/0.006381, allocations: 203.8 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-06/0.00639, allocations: 15.92 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.0064, allocations: 0 / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/0.006428, allocations: 8 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.006459, allocations: 0 / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.006463, allocations: 7.984 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.006502, allocations: 149.4 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006502, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.006658, allocations: 15.98 kB / 385.8 MB, free: 16.64 MB / 314.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.0007836/0.007442, allocations: 384.8 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.007536, allocations: 23.69 kB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.007538, allocations: 0 / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.007558, allocations: 19.67 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.007779, allocations: 23.86 kB / 386.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.008072, allocations: 188.2 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.008104, allocations: 73.81 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.008134, allocations: 7.984 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.008184, allocations: 78.19 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.008185, allocations: 4 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of Templates: time 0.003183/0.01137, allocations: 1.302 MB / 387.9 MB, free: 14.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.5350947892293334]