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.001064/0.001064, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001124/0.001124, allocations: 158.1 kB / 24.99 MB, free: 8.797 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.9817/0.9817, allocations: 177 MB / 205.2 MB, free: 5.586 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.261/0.261, allocations: 34.86 MB / 296.6 MB, free: 0.5586 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.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.333e-06/1.333e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.042e-05, allocations: 8.5 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00214/0.00217, allocations: 1.646 MB / 380.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.002867, allocations: 0.5447 MB / 381 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.002924, allocations: 3.938 kB / 381 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.003172, allocations: 75.72 kB / 381 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.003418, allocations: 107.6 kB / 381.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.003631, allocations: 107.6 kB / 381.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.003768, allocations: 87.69 kB / 381.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.449e-05/0.003862, allocations: 11.98 kB / 381.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.003927, allocations: 39.89 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.004013, allocations: 47.89 kB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.004026, allocations: 8 kB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.004099, allocations: 43.92 kB / 381.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.004149, allocations: 23.91 kB / 381.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.004178, allocations: 11.94 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.004332, allocations: 99.53 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004334, allocations: 0 / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004335, allocations: 0 / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.004339, allocations: 0 / 381.6 MB, free: 15.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003832/0.004723, allocations: 439.9 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.004756, allocations: 8.031 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.004798, allocations: 16.89 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.004947, allocations: 150.6 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.004956, allocations: 384 / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.004977, allocations: 4.375 kB / 382.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.00509, allocations: 66.86 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.005099, allocations: 192 / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.005108, allocations: 384 / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.005119, allocations: 8.375 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.725e-05/0.005156, allocations: 15.92 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.005465, allocations: 283.8 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.005528, allocations: 50.98 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.005551, allocations: 11.69 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.00557, allocations: 4.078 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.005591, allocations: 41.33 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.005593, allocations: 0 / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006147/0.006207, allocations: 165.3 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.006246, allocations: 51.48 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.006412, allocations: 234.5 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.006426, allocations: 33.64 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.006497, allocations: 162.8 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.006526, allocations: 23.78 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.006563, allocations: 27.38 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.006692, allocations: 0.4962 MB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.006721, allocations: 11.98 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.00674, allocations: 8 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/0.006795, allocations: 31.69 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.006796, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001107/0.006907, allocations: 77.53 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.006923, allocations: 8 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.00693, allocations: 7.984 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.006947, allocations: 0 / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.007024, allocations: 15.94 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.007029, allocations: 320 / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.007052, allocations: 7.984 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.007058, allocations: 0 / 384 MB, free: 12.88 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 7.352e-05/0.007131, allocations: 160.6 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.007156, allocations: 19.84 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.007302, allocations: 95.05 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.007304, allocations: 0 / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007307, allocations: 4 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.007312, allocations: 3.984 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.007598, allocations: 373 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007601, allocations: 4 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.00764, allocations: 15.98 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.007643, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.00765, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.007656, allocations: 8 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007657, allocations: 432 / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.007788, allocations: 247.3 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.007799, allocations: 15.97 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.007811, allocations: 0 / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.445e-05/0.007846, allocations: 4 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.007878, allocations: 11.97 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.007882, allocations: 4 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.46e-05/0.007957, allocations: 163.9 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007957, allocations: 0 / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.008128, allocations: 27.88 kB / 385.2 MB, free: 11.66 MB / 362.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.001027/0.009154, allocations: 420.9 kB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.009278, allocations: 47.59 kB / 385.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.00928, allocations: 0 / 385.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.009313, allocations: 31.61 kB / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.009545, allocations: 23.98 kB / 385.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.009922, allocations: 226.3 kB / 385.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.009969, allocations: 71.34 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.444e-05/0.01001, allocations: 16.78 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.01005, allocations: 20.48 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01005, allocations: 0 / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003423/0.01347, allocations: 1.402 MB / 387.4 MB, free: 9.496 MB / 362.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: 3.007338325958699]