Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0009664/0.0009664, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002259, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00102/0.00102, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002403, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9928/0.9928, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08681/1.08, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.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.243/0.243, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02386/0.2669, allocations: 13.24 MB / 292.6 MB, free: 6.457 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 293.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.37e-05, allocations: 2.312 kB / 293.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001908/0.001921, allocations: 1.724 MB / 295.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006877/0.002609, allocations: 0.564 MB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.002664, allocations: 0 / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.002851, allocations: 99.61 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.003038, allocations: 111.5 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.003233, allocations: 95.62 kB / 296.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003374, allocations: 103.7 kB / 296.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.088e-05/0.003455, allocations: 11.98 kB / 296.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.00355, allocations: 71.88 kB / 296.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.003638, allocations: 55.86 kB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.003651, allocations: 8 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.003726, allocations: 47.92 kB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.003766, allocations: 23.88 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.003792, allocations: 15.94 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.003932, allocations: 103.5 kB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.003943, allocations: 0 / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003944, allocations: 0 / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.003959, allocations: 0 / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003861/0.004345, allocations: 349 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.004376, allocations: 10.55 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.004409, allocations: 20.92 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.004566, allocations: 149.4 kB / 297.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.004578, allocations: 8.375 kB / 297.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.004602, allocations: 8.312 kB / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.004715, allocations: 68.02 kB / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.004726, allocations: 192 / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004736, allocations: 4.375 kB / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.004742, allocations: 4.375 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.004779, allocations: 15.92 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.005069, allocations: 195 kB / 297.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.005144, allocations: 54.55 kB / 297.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.005165, allocations: 12.86 kB / 297.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.005198, allocations: 0 / 297.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.005228, allocations: 38.5 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.00523, allocations: 0 / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005481/0.005778, allocations: 203 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.005807, allocations: 59.34 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.005927, allocations: 193.6 kB / 298.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005938, allocations: 29.7 kB / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.005969, allocations: 104 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.005998, allocations: 47.58 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.006028, allocations: 25.7 kB / 298.5 MB, free: 416 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.0061, allocations: 334.7 kB / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.006114, allocations: 8 kB / 298.8 MB, free: 64 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.512e-05/0.00613, allocations: 12 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.00617, allocations: 42.58 kB / 298.9 MB, free: 8 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006171, allocations: 3.938 kB / 298.9 MB, free: 4 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.747e-05/0.006249, allocations: 73.66 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.006261, allocations: 12 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006265, allocations: 0 / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.006272, allocations: 0 / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/0.006351, allocations: 27.92 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006354, allocations: 4 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.006371, allocations: 0 / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.006377, allocations: 4 kB / 299 MB, free: 15.88 MB / 298.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 (13): * Single equations (assignments): 13 * 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.578e-05/0.006433, allocations: 120.6 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.006451, allocations: 12 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.006564, allocations: 100.5 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006565, allocations: 4 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006567, allocations: 0 / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.00657, allocations: 0 / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.00682, allocations: 304.6 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006821, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.006873, allocations: 27.97 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.006884, allocations: 11.91 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.006887, allocations: 4 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.006892, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.006894, allocations: 3.938 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.006897, allocations: 8.016 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.403e-05/0.006991, allocations: 188.3 kB / 299.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.007001, allocations: 0 / 299.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.007035, allocations: 8 kB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.007063, allocations: 7.984 kB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.007068, allocations: 3.984 kB / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.474e-05/0.007113, allocations: 65.55 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007113, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.007246, allocations: 20 kB / 299.9 MB, free: 14.95 MB / 298.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 (13): * Single equations (assignments): 13 * 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.001281/0.008528, allocations: 0.6144 MB / 300.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.008617, allocations: 44.84 kB / 300.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.008624, allocations: 7.938 kB / 300.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.008652, allocations: 44.22 kB / 300.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.008828, allocations: 27.97 kB / 300.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.009252, allocations: 271.8 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.00929, allocations: 71.33 kB / 300.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.149e-05/0.009332, allocations: 20.48 kB / 301 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.009386, allocations: 67.42 kB / 301 MB, free: 14.07 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009386, allocations: 0 / 301 MB, free: 14.07 MB / 298.7 MB Notification: Performance of Templates: time 0.003707/0.01309, allocations: 1.71 MB / 302.7 MB, free: 12.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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: 2.84777594730258]