Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001125/0.001125, 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.001248/0.001248, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9749/0.9749, allocations: 177 MB / 205.2 MB, free: 5.527 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.2542/0.2542, allocations: 34.87 MB / 296.6 MB, free: 0.5234 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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.076e-05, allocations: 2.312 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003232/0.003263, allocations: 1.628 MB / 380.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.004252, allocations: 0.5369 MB / 380.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.004325, allocations: 0 / 380.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.0046, allocations: 19.8 kB / 380.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.004937, allocations: 83.55 kB / 381 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.005239, allocations: 99.62 kB / 381.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.005414, allocations: 63.84 kB / 381.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.005528, allocations: 15.78 kB / 381.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.005599, allocations: 31.91 kB / 381.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.005657, allocations: 11.98 kB / 381.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.005674, allocations: 4 kB / 381.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.005764, allocations: 31.88 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.005817, allocations: 15.92 kB / 381.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.005854, allocations: 15.92 kB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.006027, allocations: 67.75 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.006032, allocations: 0 / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.006033, allocations: 0 / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.006038, allocations: 0 / 381.4 MB, free: 15.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004397/0.006477, allocations: 408.2 kB / 381.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.006518, allocations: 12.03 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.00656, allocations: 8.891 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.006721, allocations: 148.4 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.00673, allocations: 4.375 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.006748, allocations: 384 / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.006867, allocations: 54.95 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006876, allocations: 4.188 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-06/0.006884, allocations: 384 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006893, allocations: 4.375 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.006926, allocations: 7.938 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.007226, allocations: 271.8 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.0074, allocations: 46.98 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.007425, allocations: 11.69 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.007441, allocations: 0 / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.007466, allocations: 37.39 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.605e-06/0.007469, allocations: 4 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003797/0.007848, allocations: 109.4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.007883, allocations: 51.41 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.008028, allocations: 197.3 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.008039, allocations: 29.7 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.008105, allocations: 138.9 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.008131, allocations: 19.8 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.008171, allocations: 23.38 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.008305, allocations: 0.4923 MB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.00833, allocations: 4 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.00835, allocations: 15.92 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.008396, allocations: 23.69 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.0084, allocations: 4 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.346e-05/0.008483, allocations: 57.58 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.008499, allocations: 8 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.008505, allocations: 0 / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.008517, allocations: 0 / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.008565, allocations: 12.23 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.00857, allocations: 3.938 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.008596, allocations: 12 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.008601, allocations: 0 / 383.6 MB, free: 13.37 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 (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 7.492e-05/0.008676, allocations: 164.5 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.008705, allocations: 11.89 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.008831, allocations: 66.14 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.008832, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.008834, allocations: 4 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008838, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.00912, allocations: 321.3 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.009122, allocations: 0 / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.009157, allocations: 8 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.00916, allocations: 4 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.009171, allocations: 4.281 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.009171, allocations: 0 / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009173, allocations: 0 / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.009327, allocations: 219.7 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.009338, allocations: 11.94 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.00935, allocations: 0 / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.009402, allocations: 4 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.009435, allocations: 3.984 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.00944, allocations: 4 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.973e-05/0.00951, allocations: 147.2 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00951, allocations: 0 / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.009748, allocations: 12 kB / 384.5 MB, free: 12.32 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 (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.001084/0.01083, allocations: 373.2 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01094, allocations: 35.67 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01094, allocations: 0 / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.01097, allocations: 23.61 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01126, allocations: 23.31 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.01163, allocations: 178.6 kB / 385.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.535e-05/0.01168, allocations: 59.34 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.01172, allocations: 15.92 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.01175, allocations: 16.5 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01175, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003106/0.01486, allocations: 1.162 MB / 386.4 MB, free: 10.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.0625318149104714]