Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.0009557/0.0009557, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009634/0.0009634, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.9692/0.9692, allocations: 177.1 MB / 205 MB, free: 5.629 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.2625/0.2625, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.133e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002071/0.002092, allocations: 1.669 MB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006949/0.002787, allocations: 0.5415 MB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.002845, allocations: 3.938 kB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.003084, allocations: 75.7 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.003344, allocations: 103.5 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.003582, allocations: 107.7 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.003719, allocations: 87.75 kB / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.003804, allocations: 8 kB / 380.6 MB, free: 20 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.003885, allocations: 43.89 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.00397, allocations: 51.88 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.003983, allocations: 4 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.004062, allocations: 47.91 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.004105, allocations: 23.88 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.004131, allocations: 11.92 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.004277, allocations: 91.61 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004279, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00428, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004284, allocations: 0 / 380.9 MB, free: 15.75 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.0003458/0.00463, allocations: 439.9 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.004664, allocations: 12.03 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.004701, allocations: 12.89 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.004836, allocations: 144.4 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.004844, allocations: 4.375 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.004863, allocations: 12.25 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.00497, allocations: 62.94 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.004979, allocations: 192 / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.004988, allocations: 4.125 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004994, allocations: 0 / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.005023, allocations: 11.98 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.0053, allocations: 287.8 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.259e-05/0.005362, allocations: 47 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.005386, allocations: 19.7 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.005401, allocations: 0 / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.005419, allocations: 37.39 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.00542, allocations: 0 / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004913/0.005911, allocations: 169.4 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.005941, allocations: 59.34 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.006063, allocations: 234.5 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.006075, allocations: 33.7 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.006125, allocations: 146.8 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.006149, allocations: 27.78 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.006179, allocations: 27.38 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.006287, allocations: 0.5 MB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.00631, allocations: 11.98 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.006327, allocations: 8 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.006372, allocations: 31.67 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006374, allocations: 8 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.721e-05/0.006461, allocations: 81.52 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.006472, allocations: 4 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006476, allocations: 4 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006487, allocations: 4.422 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.006554, allocations: 15.98 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.006558, allocations: 0 / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.006578, allocations: 8 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.006583, allocations: 0 / 383.3 MB, free: 13.11 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 6.354e-05/0.006646, allocations: 168.5 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.006666, allocations: 11.91 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.006798, allocations: 95.36 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.0068, allocations: 4 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.006803, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006805, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.007079, allocations: 377.1 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.00708, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.007116, allocations: 15.98 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.007119, allocations: 4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.007126, allocations: 4 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.007128, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007129, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.007245, allocations: 251.4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.007253, allocations: 7.953 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.007265, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.007297, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.007325, allocations: 11.92 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.00733, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.421e-05/0.007394, allocations: 163.9 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007394, allocations: 0 / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.007551, allocations: 23.94 kB / 384.5 MB, free: 11.9 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.0008747/0.008425, allocations: 433.6 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.00854, allocations: 47.59 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.008542, allocations: 0 / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.008572, allocations: 31.59 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.00879, allocations: 24 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.009122, allocations: 230.2 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.91e-05/0.009161, allocations: 71.28 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.009203, allocations: 25.06 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.009232, allocations: 16.5 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009233, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003132/0.01236, allocations: 1.518 MB / 386.8 MB, free: 9.637 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.1036619152873755]