Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001055/0.001055, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009831/0.0009831, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9369/0.9369, allocations: 177 MB / 204.8 MB, free: 5.609 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.2804/0.2804, 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.802e-05, allocations: 3.016 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.005828/0.005856, allocations: 1.644 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004754/0.01061, allocations: 1.293 MB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.01069, allocations: 4 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.01094, allocations: 23.8 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.01133, allocations: 87.55 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.01164, allocations: 111.6 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.01182, allocations: 87.75 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.01193, allocations: 19.92 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.012, allocations: 43.89 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.01212, allocations: 27.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.01215, allocations: 7.938 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.01233, allocations: 87.88 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.01238, allocations: 23.91 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.01241, allocations: 15.94 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.01266, allocations: 147.5 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01267, allocations: 0 / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01267, allocations: 0 / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.01267, allocations: 4 kB / 382.4 MB, free: 14.42 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.003571/0.01624, allocations: 436 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.01628, allocations: 12.03 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.01635, allocations: 12.84 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.01653, allocations: 143.1 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.01654, allocations: 8.375 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.01656, allocations: 4.312 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.01674, allocations: 116 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01675, allocations: 4.172 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.01677, allocations: 8.375 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.01677, allocations: 4.375 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.01682, allocations: 23.8 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.01715, allocations: 291.7 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.483e-05/0.01722, allocations: 47.05 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.01725, allocations: 27.83 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.01727, allocations: 0 / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.01729, allocations: 41.33 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.01729, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004082/0.0177, allocations: 125.4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.01774, allocations: 85.11 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.01786, allocations: 201.9 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.01787, allocations: 25.7 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.01792, allocations: 146.9 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.01794, allocations: 27.73 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.01811, allocations: 31.38 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.01821, allocations: 0.4884 MB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.01823, allocations: 8 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.01827, allocations: 61.05 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.01832, allocations: 35.62 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01832, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.083e-05/0.01841, allocations: 77.61 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01842, allocations: 7.984 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.01843, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01844, allocations: 4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.01852, allocations: 12 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.01853, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.01855, allocations: 11.98 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.01856, allocations: 0 / 384.9 MB, free: 11.69 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 (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 6.375e-05/0.01862, allocations: 164.5 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.01864, allocations: 11.89 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.01878, allocations: 98.67 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01879, allocations: 0 / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01879, allocations: 0 / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01879, allocations: 0 / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.01906, allocations: 365.2 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01906, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.0191, allocations: 16.36 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01911, allocations: 0 / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.01911, allocations: 0 / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01912, allocations: 4 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01912, allocations: 8 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.01924, allocations: 227.8 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.01925, allocations: 11.94 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.01926, allocations: 0 / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.0193, allocations: 8 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.01933, allocations: 7.984 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.01933, allocations: 0 / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.01939, allocations: 149.5 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01939, allocations: 0 / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000203/0.0196, allocations: 47.86 kB / 386 MB, free: 10.52 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 (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.001062/0.02066, allocations: 476.5 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.0208, allocations: 51.53 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.0208, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.02083, allocations: 27.67 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.02104, allocations: 27.48 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.02139, allocations: 198.2 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.02143, allocations: 67.2 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.02148, allocations: 28.95 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.02151, allocations: 20.48 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02151, allocations: 0 / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of Templates: time 0.004175/0.02569, allocations: 2.106 MB / 389 MB, free: 7.633 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.1538494406268]