Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.000885/0.000885, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0008517/0.0008517, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.899/0.899, allocations: 177 MB / 205.2 MB, free: 5.055 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.2549/0.2549, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 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.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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.335e-05, allocations: 5.406 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001977/0.00199, allocations: 1.654 MB / 327.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006915/0.002682, allocations: 0.533 MB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.002731, allocations: 3.938 kB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.003001, allocations: 99.67 kB / 328.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.00327, allocations: 115.5 kB / 328.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.003501, allocations: 87.69 kB / 328.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.00366, allocations: 95.69 kB / 328.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.00373, allocations: 11.92 kB / 328.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.003789, allocations: 51.88 kB / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.003861, allocations: 39.89 kB / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.003872, allocations: 4 kB / 328.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.003944, allocations: 51.91 kB / 328.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.00398, allocations: 23.92 kB / 328.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.004003, allocations: 15.88 kB / 328.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.004129, allocations: 95.66 kB / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.00413, allocations: 0 / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004131, allocations: 0 / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.004134, allocations: 0 / 328.8 MB, free: 4.266 MB / 298.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.0002788/0.004412, allocations: 322.3 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.004439, allocations: 8.031 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.004463, allocations: 16.86 kB / 329.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.004572, allocations: 145.6 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-06/0.004578, allocations: 384 / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.004597, allocations: 4.375 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.004727, allocations: 62.88 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.004735, allocations: 4.141 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-06/0.00474, allocations: 384 / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004745, allocations: 4.375 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.004766, allocations: 11.92 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.004947, allocations: 167.1 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/0.004993, allocations: 34.56 kB / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.005008, allocations: 20.94 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.005022, allocations: 0 / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.00504, allocations: 34.56 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.005041, allocations: 0 / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003762/0.005417, allocations: 141.4 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.005442, allocations: 55.41 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.005543, allocations: 188.2 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.005553, allocations: 29.7 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.005583, allocations: 104 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.005605, allocations: 23.8 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.005631, allocations: 25.64 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.005704, allocations: 326.8 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.005716, allocations: 4 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.005728, allocations: 8 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.005757, allocations: 24.83 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.005758, allocations: 0 / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.832e-05/0.005817, allocations: 69.83 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.005827, allocations: 5.25 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.005831, allocations: 0 / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.005841, allocations: 8 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.005895, allocations: 23.86 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.005897, allocations: 0 / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.005913, allocations: 0 / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.005919, allocations: 4 kB / 330.6 MB, free: 2.266 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 (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 5.422e-05/0.005973, allocations: 116.7 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.005991, allocations: 11.94 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.86e-05/0.00609, allocations: 75.08 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006091, allocations: 0 / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006093, allocations: 0 / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006095, allocations: 7.938 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.006428, allocations: 255.5 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.00643, allocations: 0 / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.006462, allocations: 15.98 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.006463, allocations: 0 / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.006468, allocations: 4 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006469, allocations: 0 / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00647, allocations: 0 / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.006547, allocations: 168.2 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.006555, allocations: 11.91 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.006565, allocations: 8.031 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.168e-05/0.006597, allocations: 3.984 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.006614, allocations: 4 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.006618, allocations: 7.984 kB / 331.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.00666, allocations: 55.64 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00666, allocations: 0 / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.006792, allocations: 19.94 kB / 331.4 MB, free: 1.445 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 (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.001124/0.007917, allocations: 0.5658 MB / 332 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.063e-05/0.007997, allocations: 36.77 kB / 332 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.008, allocations: 3.938 kB / 332 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.00802, allocations: 20.86 kB / 332 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.008152, allocations: 23.86 kB / 332 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.008413, allocations: 243.9 kB / 332.3 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.008447, allocations: 67.34 kB / 332.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.918e-05/0.008476, allocations: 13.03 kB / 332.4 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.008526, allocations: 63.38 kB / 332.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008527, allocations: 0 / 332.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of Templates: time 0.002613/0.01114, allocations: 1.488 MB / 333.9 MB, free: 15.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 2.8281789529137313]