Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001299/0.001299, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001576/0.001576, allocations: 162.8 kB / 25.61 MB, free: 8.887 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.9777/0.9777, allocations: 177 MB / 205.9 MB, free: 4.449 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.1631/0.1631, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.576e-05, allocations: 2.906 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.0022/0.002226, allocations: 1.627 MB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003329, allocations: 1.285 MB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.003398, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.003647, allocations: 27.78 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.003957, allocations: 91.48 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.004179, allocations: 107.7 kB / 383.2 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.004307, allocations: 67.78 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.004403, allocations: 15.97 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.004457, allocations: 31.91 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.557e-05/0.004552, allocations: 27.91 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.004567, allocations: 4 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.004696, allocations: 91.83 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.004741, allocations: 19.91 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.004764, allocations: 11.94 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.004944, allocations: 135.5 kB / 383.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004947, allocations: 0 / 383.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004948, allocations: 0 / 383.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.004953, allocations: 0 / 383.6 MB, free: 19.2 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.000349/0.005302, allocations: 431.9 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005336, allocations: 8.031 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.005372, allocations: 16.89 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.005497, allocations: 140.4 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.005506, allocations: 384 / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.005525, allocations: 4.375 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.005644, allocations: 96.03 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.005655, allocations: 192 / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.005663, allocations: 4.375 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005669, allocations: 384 / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.00569, allocations: 11.92 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.005913, allocations: 260.3 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.006049, allocations: 43.12 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.006065, allocations: 15.77 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.006082, allocations: 0 / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.006099, allocations: 33.39 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.0061, allocations: 7.938 kB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003334/0.006433, allocations: 85.5 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.006469, allocations: 77.11 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.006574, allocations: 197.9 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.006583, allocations: 25.7 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.006629, allocations: 146.8 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.006653, allocations: 27.84 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.006683, allocations: 23.36 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.006732, allocations: 0.4922 MB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.006742, allocations: 4 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.006765, allocations: 53.08 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.006796, allocations: 23.86 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006797, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.2e-05/0.006859, allocations: 53.66 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006872, allocations: 13.64 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006876, allocations: 0 / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.006885, allocations: 4.031 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.006929, allocations: 15.94 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.006933, allocations: 7.984 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.006952, allocations: 0 / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.006959, allocations: 7.984 kB / 385.8 MB, free: 16.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 4.275e-05/0.007001, allocations: 152.6 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.007022, allocations: 7.953 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.007115, allocations: 66.09 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.007118, allocations: 7.984 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.00712, allocations: 0 / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007123, allocations: 4 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.007304, allocations: 298 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.007306, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.007337, allocations: 11.98 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.00734, allocations: 3.938 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.007344, allocations: 0 / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.007345, allocations: 0 / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007347, allocations: 0 / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.00745, allocations: 212.3 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.00746, allocations: 11.83 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007474, allocations: 4 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.007509, allocations: 11.98 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.007532, allocations: 3.984 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.007535, allocations: 4 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.007574, allocations: 147.1 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007574, allocations: 0 / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.007766, allocations: 39.88 kB / 386.8 MB, free: 15.63 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.0009193/0.008685, allocations: 477.6 kB / 387.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.832e-05/0.008763, allocations: 35.59 kB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008765, allocations: 0 / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.008781, allocations: 15.81 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.008972, allocations: 26.42 kB / 387.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.009201, allocations: 163.9 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.337e-05/0.009225, allocations: 71.2 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.009261, allocations: 8 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.009313, allocations: 90.17 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009313, allocations: 3.938 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of Templates: time 0.003301/0.01261, allocations: 2.053 MB / 389.7 MB, free: 12.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.466851214878261]