Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001061/0.001061, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001009/0.001009, allocations: 163.2 kB / 24.99 MB, free: 8.801 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.9823/0.9823, allocations: 177 MB / 205.2 MB, free: 5.594 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.2525/0.2525, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.445e-05, allocations: 10.25 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003008/0.003033, allocations: 1.638 MB / 380.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.004034, allocations: 0.537 MB / 381 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.004107, allocations: 3.938 kB / 381 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.004402, allocations: 79.7 kB / 381 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.00476, allocations: 107.5 kB / 381.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.005062, allocations: 91.64 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.005266, allocations: 95.67 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.005375, allocations: 11.98 kB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.005465, allocations: 43.89 kB / 381.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.005581, allocations: 55.86 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.005599, allocations: 4 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.005701, allocations: 47.92 kB / 381.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.005755, allocations: 15.94 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.005794, allocations: 23.91 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.005989, allocations: 83.62 kB / 381.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005991, allocations: 0 / 381.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005992, allocations: 0 / 381.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005996, allocations: 0 / 381.6 MB, free: 15.56 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.0004935/0.00649, allocations: 443.9 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.006533, allocations: 12.03 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.00659, allocations: 12.84 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.006782, allocations: 149.1 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.006796, allocations: 8.375 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.006821, allocations: 4.375 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.006967, allocations: 62.88 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.006978, allocations: 192 / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.006988, allocations: 384 / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.006999, allocations: 4.375 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.857e-05/0.007047, allocations: 15.91 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.007429, allocations: 299.7 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.007511, allocations: 43 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.00754, allocations: 15.7 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.007563, allocations: 8 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.007588, allocations: 37.33 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.00759, allocations: 0 / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007019/0.008292, allocations: 165.6 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.008328, allocations: 51.41 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.008526, allocations: 246.3 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.008542, allocations: 33.7 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.008617, allocations: 154.8 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.008649, allocations: 27.81 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.008693, allocations: 27.38 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.008846, allocations: 0.4923 MB / 383.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.008878, allocations: 11.98 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.008909, allocations: 12.06 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.008978, allocations: 35.67 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008979, allocations: 0 / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001256/0.009105, allocations: 81.53 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.009119, allocations: 4 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.009124, allocations: 0 / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.00914, allocations: 7.938 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.009235, allocations: 19.98 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.009241, allocations: 320 / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.009273, allocations: 4 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.009281, allocations: 0 / 384.1 MB, free: 12.89 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 8.429e-05/0.009365, allocations: 164.5 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.009405, allocations: 15.84 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.009582, allocations: 95.05 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.009584, allocations: 0 / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.009587, allocations: 0 / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00959, allocations: 0 / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.01001, allocations: 381 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01001, allocations: 3.938 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.01008, allocations: 19.98 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01008, allocations: 4 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01009, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01009, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.0101, allocations: 4 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.01028, allocations: 243.4 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.01029, allocations: 7.953 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.01031, allocations: 4 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.667e-05/0.01038, allocations: 8.031 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.01041, allocations: 3.984 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.01042, allocations: 4 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.01053, allocations: 171.2 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01053, allocations: 0 / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002818/0.01081, allocations: 19.92 kB / 385.2 MB, free: 11.68 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.001215/0.01202, allocations: 427.2 kB / 385.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.01216, allocations: 47.59 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01217, allocations: 4 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.01222, allocations: 35.61 kB / 385.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.01255, allocations: 19.94 kB / 385.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.01299, allocations: 229.9 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.01305, allocations: 67.34 kB / 386 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.011e-05/0.0131, allocations: 16.78 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.01314, allocations: 12.5 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01314, allocations: 0 / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.004203/0.01734, allocations: 1.379 MB / 387.4 MB, free: 9.539 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.077846007188782]