Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001042/0.001042, 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.001202/0.001202, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.274/0.274, allocations: 34.26 MB / 296 MB, free: 0.6758 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.987e-05, allocations: 2.312 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003153/0.003183, allocations: 1.685 MB / 379.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007834/0.003966, allocations: 0.5376 MB / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.00403, allocations: 0 / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.004301, allocations: 103.6 kB / 380.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.004558, allocations: 107.5 kB / 380.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.004774, allocations: 103.6 kB / 380.6 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.004933, allocations: 103.7 kB / 380.7 MB, free: 304 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.005042, allocations: 19.92 kB / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/0.005112, allocations: 59.88 kB / 380.8 MB, free: 224 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.005207, allocations: 59.86 kB / 380.8 MB, free: 164 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.005224, allocations: 4 kB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-05/0.005306, allocations: 43.92 kB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.005354, allocations: 35.84 kB / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.005389, allocations: 15.94 kB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.00558, allocations: 107.5 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.005584, allocations: 4 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005585, allocations: 0 / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.005591, allocations: 0 / 381 MB, free: 15.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004426/0.006033, allocations: 463.8 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.006072, allocations: 12.03 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.006118, allocations: 16.84 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.006264, allocations: 156.4 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.006274, allocations: 384 / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.006297, allocations: 8.375 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.006425, allocations: 74.86 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006434, allocations: 192 / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.006446, allocations: 8.125 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.006453, allocations: 4 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.006496, allocations: 15.98 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.006982, allocations: 331.6 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.243e-05/0.007065, allocations: 54.98 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.007092, allocations: 23.67 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.007113, allocations: 0 / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.007133, allocations: 33.39 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.007134, allocations: 4 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006372/0.007771, allocations: 253.8 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.007801, allocations: 55.41 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.007954, allocations: 250.7 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.007966, allocations: 29.7 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.008027, allocations: 158.9 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.008058, allocations: 43.58 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.008095, allocations: 31.38 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.008208, allocations: 0.5078 MB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.008237, allocations: 12 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.008263, allocations: 15.98 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.103e-05/0.008334, allocations: 62.48 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.008335, allocations: 0 / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001115/0.008446, allocations: 105.6 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.008459, allocations: 4 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008464, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.008477, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.008566, allocations: 23.98 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.008574, allocations: 7.984 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.008602, allocations: 4 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.008609, allocations: 7.938 kB / 383.7 MB, free: 13.01 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 (13): * Single equations (assignments): 13 * 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.106e-05/0.00868, allocations: 164.5 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.008708, allocations: 27.86 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.00888, allocations: 119.1 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.008883, allocations: 4 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.008887, allocations: 0 / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.00889, allocations: 0 / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.009242, allocations: 444.8 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.009244, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.009301, allocations: 23.98 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.009304, allocations: 0 / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.009313, allocations: 3.938 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.009314, allocations: 8.031 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.009315, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.009465, allocations: 270.2 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.009477, allocations: 11.91 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.009494, allocations: 7.938 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/0.00954, allocations: 7.984 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.009573, allocations: 7.984 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.009579, allocations: 8 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.971e-05/0.009659, allocations: 177.1 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009659, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.009842, allocations: 39.92 kB / 385 MB, free: 11.63 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 (13): * Single equations (assignments): 13 * 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.001022/0.01086, allocations: 444 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.011, allocations: 71.59 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.011, allocations: 0 / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.01104, allocations: 43.61 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.01128, allocations: 15.98 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.01171, allocations: 276.8 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.01175, allocations: 75.33 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.0118, allocations: 20.47 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.01183, allocations: 16.5 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01183, allocations: 3.938 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Templates: time 0.003488/0.01532, allocations: 1.559 MB / 387.5 MB, free: 9.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.2253187058959156]