Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001176/0.001176, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001212/0.001212, allocations: 160.5 kB / 24.55 MB, free: 16 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.9855/0.9855, allocations: 177 MB / 204.8 MB, free: 5.582 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.2764/0.2764, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.826e-05/4.004e-05, allocations: 2.875 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00262/0.00266, allocations: 1.662 MB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.003568, allocations: 0.5448 MB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.003645, allocations: 4 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.00395, allocations: 91.61 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.004297, allocations: 115.5 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.004613, allocations: 111.6 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.004803, allocations: 99.67 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.004909, allocations: 4 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.004985, allocations: 47.89 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.005086, allocations: 51.86 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.005101, allocations: 4 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.00521, allocations: 51.91 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.005259, allocations: 23.94 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.005292, allocations: 19.86 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.005459, allocations: 87.67 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.005461, allocations: 0 / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005462, allocations: 0 / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.005467, allocations: 4 kB / 381.7 MB, free: 15.13 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.0004304/0.005897, allocations: 451.8 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.005933, allocations: 8.031 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.005982, allocations: 16.89 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.00613, allocations: 160.3 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.00614, allocations: 4.375 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.006163, allocations: 8.359 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006282, allocations: 54.95 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.006292, allocations: 192 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.0063, allocations: 384 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.006308, allocations: 4.375 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.006347, allocations: 19.86 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.006673, allocations: 299.7 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.006743, allocations: 43.05 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.006768, allocations: 19.62 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.006786, allocations: 4 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.006808, allocations: 37.33 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.006809, allocations: 0 / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005851/0.007394, allocations: 173.3 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.007425, allocations: 51.41 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.007775, allocations: 249.9 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.007788, allocations: 25.7 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.007851, allocations: 158.8 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.007881, allocations: 31.75 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.007918, allocations: 31.36 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003332/0.008251, allocations: 0.4962 MB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.008275, allocations: 8 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.008295, allocations: 11.98 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.008353, allocations: 35.62 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.008354, allocations: 0 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001129/0.008467, allocations: 81.64 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.008485, allocations: 4 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.00849, allocations: 0 / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.008505, allocations: 0 / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.008591, allocations: 23.98 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008596, allocations: 3.938 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.008617, allocations: 3.938 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.008625, allocations: 4.312 kB / 384.2 MB, free: 12.44 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.197e-05/0.008697, allocations: 156.6 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.008721, allocations: 23.83 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.008868, allocations: 91.12 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.008871, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.008875, allocations: 4 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008878, allocations: 0 / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.009303, allocations: 388.9 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.009306, allocations: 432 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.009358, allocations: 23.92 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.009362, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.009371, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009373, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.009375, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.009519, allocations: 239.5 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.009532, allocations: 11.94 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.009546, allocations: 8.016 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.009581, allocations: 8 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.009614, allocations: 7.922 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.009621, allocations: 4 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.187e-05/0.009703, allocations: 175.2 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009703, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.009876, allocations: 27.88 kB / 385.3 MB, free: 11.2 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.001034/0.01091, allocations: 416.7 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.01104, allocations: 59.56 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.01104, allocations: 0 / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.01107, allocations: 31.61 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.0113, allocations: 16 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.01175, allocations: 253.7 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.694e-05/0.0118, allocations: 71.33 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.986e-05/0.01186, allocations: 20.78 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.0119, allocations: 16.5 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.01191, allocations: 0 / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.00428/0.01619, allocations: 1.527 MB / 387.7 MB, free: 8.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.1585718519054353]