Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001273/0.001273, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001431/0.001431, allocations: 156.5 kB / 24.55 MB, free: 12 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 1.053/1.053, allocations: 177 MB / 204.8 MB, free: 5.57 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.2977/0.2977, allocations: 34.85 MB / 296.3 MB, free: 0.5391 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.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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.183e-05, allocations: 2.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003551/0.003583, allocations: 1.629 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.004649, allocations: 0.5486 MB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.004724, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.004997, allocations: 23.8 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.005344, allocations: 83.61 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.005696, allocations: 115.5 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.005881, allocations: 63.78 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.006004, allocations: 15.84 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.006082, allocations: 35.91 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.00615, allocations: 15.92 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.006168, allocations: 4 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.00626, allocations: 31.98 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.006317, allocations: 11.92 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.006355, allocations: 11.94 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.006557, allocations: 71.73 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.006562, allocations: 0 / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.006563, allocations: 0 / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.006568, allocations: 0 / 381.4 MB, free: 15.39 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.0005146/0.007083, allocations: 408.1 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.007136, allocations: 16.03 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.007191, allocations: 8.891 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.007387, allocations: 136.5 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.007398, allocations: 4.375 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.007432, allocations: 4.375 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.007604, allocations: 54.95 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.007616, allocations: 192 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.007635, allocations: 4.375 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.007647, allocations: 4.375 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.066e-05/0.007688, allocations: 19.8 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.00806, allocations: 271.8 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.008237, allocations: 43.05 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.008262, allocations: 15.77 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.008285, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.008311, allocations: 41.33 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.008312, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003984/0.00871, allocations: 105.3 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.00874, allocations: 55.41 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.008854, allocations: 197.9 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.008864, allocations: 25.7 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.008917, allocations: 142.9 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.008944, allocations: 27.78 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.008977, allocations: 23.38 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.0091, allocations: 0.4923 MB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.00912, allocations: 4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.009134, allocations: 4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.87e-05/0.009173, allocations: 23.67 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009174, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.371e-05/0.009258, allocations: 65.53 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.009274, allocations: 8 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009279, allocations: 4 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.009298, allocations: 3.984 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.009352, allocations: 8 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.009359, allocations: 0 / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.009378, allocations: 4 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.009384, allocations: 256 / 383.6 MB, free: 12.99 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.683e-05/0.00946, allocations: 160.6 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.009483, allocations: 15.89 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.009624, allocations: 66.09 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.009628, allocations: 3.984 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.009633, allocations: 8 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009636, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.009886, allocations: 317.4 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009887, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.009924, allocations: 15.92 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009926, allocations: 4 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.009933, allocations: 4 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.009935, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009937, allocations: 3.938 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.01005, allocations: 203.8 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.01006, allocations: 11.95 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.01008, allocations: 4 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.01011, allocations: 7.984 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.01014, allocations: 0 / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.01015, allocations: 4 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.01021, allocations: 150.2 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01021, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.01037, allocations: 16 kB / 384.6 MB, free: 11.94 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.0008602/0.01123, allocations: 381.6 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.01133, allocations: 31.61 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01134, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.01136, allocations: 23.81 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.01162, allocations: 19.92 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.01197, allocations: 178.6 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.01201, allocations: 71.27 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.01205, allocations: 11.98 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.01208, allocations: 16.48 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01208, allocations: 0 / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003065/0.01515, allocations: 1.161 MB / 386.5 MB, free: 10.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.534847228322178]