Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 166.6 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.298/0.298, allocations: 34.26 MB / 296.1 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.113e-05, allocations: 10.25 kB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.005252/0.005284, allocations: 1.653 MB / 379.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.006158, allocations: 0.5336 MB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.006224, allocations: 0 / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.006535, allocations: 111.6 kB / 380.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.006835, allocations: 127.4 kB / 380.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.007075, allocations: 91.69 kB / 380.6 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.007245, allocations: 95.67 kB / 380.6 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.007339, allocations: 8 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.007417, allocations: 55.88 kB / 380.7 MB, free: 260 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.007527, allocations: 59.86 kB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.007541, allocations: 4 kB / 380.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.007634, allocations: 47.92 kB / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.00769, allocations: 27.91 kB / 380.8 MB, free: 120 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.007722, allocations: 19.92 kB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.007897, allocations: 99.55 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.0079, allocations: 0 / 381 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007901, allocations: 0 / 381 MB, free: 0 / 346.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.007905, allocations: 0 / 381 MB, free: 0 / 346.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.0004636/0.008369, allocations: 455.8 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.008409, allocations: 12.03 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.008468, allocations: 12.84 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.008632, allocations: 153.2 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.008641, allocations: 384 / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.008662, allocations: 4.375 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.008786, allocations: 66.88 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.008797, allocations: 4.188 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.008808, allocations: 8.062 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.008816, allocations: 0 / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.034e-05/0.008856, allocations: 15.98 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.009202, allocations: 299.7 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.728e-05/0.009279, allocations: 50.97 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.009305, allocations: 15.62 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.009326, allocations: 0 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.009349, allocations: 33.39 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.00935, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006212/0.009971, allocations: 177.3 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.01, allocations: 51.41 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.0102, allocations: 263.1 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.01021, allocations: 29.7 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.01029, allocations: 158.9 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.01032, allocations: 35.67 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.01036, allocations: 23.38 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.0105, allocations: 0.5079 MB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.01053, allocations: 11.98 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.01055, allocations: 8 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.063e-05/0.01062, allocations: 31.69 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01062, allocations: 0 / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001205/0.01074, allocations: 81.66 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.01075, allocations: 7.984 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01076, allocations: 4 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01077, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.01086, allocations: 19.94 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.01086, allocations: 4 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.01089, allocations: 3.984 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.0109, allocations: 4 kB / 383.5 MB, free: 13.27 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 7.71e-05/0.01098, allocations: 160.5 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.01101, allocations: 15.91 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.01117, allocations: 95.38 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01117, allocations: 3.984 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01118, allocations: 3.938 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01118, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.01156, allocations: 384.9 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01156, allocations: 0 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.01161, allocations: 23.98 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01162, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.01162, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01163, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01163, allocations: 4 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.01178, allocations: 239.4 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.01179, allocations: 11.91 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.01181, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.01186, allocations: 8 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.0119, allocations: 15.95 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.0119, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.01201, allocations: 187.1 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01201, allocations: 0 / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.01226, allocations: 16 kB / 384.6 MB, free: 12.04 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.00414/0.0164, allocations: 431.7 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.01655, allocations: 47.59 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01655, allocations: 4 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.01659, allocations: 35.67 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.01689, allocations: 20.3 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.01733, allocations: 257.4 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.472e-05/0.01739, allocations: 75.33 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.142e-05/0.01743, allocations: 8.734 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.01746, allocations: 16.44 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01747, allocations: 4.062 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of Templates: time 0.00381/0.02128, allocations: 1.392 MB / 386.9 MB, free: 9.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.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.1632742998190224]