Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001065/0.001065, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0012/0.0012, allocations: 167.6 kB / 24.99 MB, free: 8.25 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2962/0.2962, allocations: 34.26 MB / 296 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.891e-05, allocations: 5.969 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.005914/0.005952, allocations: 1.638 MB / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.007762, allocations: 1.27 MB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.007827, allocations: 0 / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.008072, allocations: 23.84 kB / 381 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.008378, allocations: 91.5 kB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.008582, allocations: 91.62 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.008731, allocations: 67.83 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.008847, allocations: 11.98 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.008907, allocations: 27.92 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.009013, allocations: 27.89 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.009031, allocations: 4 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.009172, allocations: 95.81 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.009221, allocations: 11.94 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.009253, allocations: 15.92 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.009469, allocations: 135.5 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.009473, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.009475, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.00948, allocations: 0 / 381.5 MB, free: 15.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004547/0.009935, allocations: 427.9 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.009986, allocations: 12.03 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.01004, allocations: 12.89 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.01019, allocations: 128.5 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.0102, allocations: 4.375 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.01022, allocations: 384 / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.01037, allocations: 108 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.01038, allocations: 192 / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.01039, allocations: 8.125 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.0104, allocations: 4 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.01043, allocations: 7.984 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.01073, allocations: 279.8 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.01089, allocations: 46.98 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.01091, allocations: 11.69 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.01094, allocations: 7.938 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.01096, allocations: 37.39 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.344e-06/0.01097, allocations: 11.92 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003604/0.01133, allocations: 101.5 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.01138, allocations: 77.11 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.0115, allocations: 199.8 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.01152, allocations: 25.7 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.01157, allocations: 142.9 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.01159, allocations: 19.8 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.01162, allocations: 23.38 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.01174, allocations: 0.4884 MB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.01176, allocations: 4 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.0118, allocations: 61.06 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.01184, allocations: 27.62 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01184, allocations: 0 / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.324e-05/0.01193, allocations: 53.62 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01194, allocations: 8 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01194, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.01196, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/0.01201, allocations: 8 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01201, allocations: 3.984 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.01204, allocations: 11.95 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.01204, allocations: 4.031 kB / 383.9 MB, free: 12.88 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 (5): * Single equations (assignments): 5 * 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.05e-05/0.01211, allocations: 156.6 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.01214, allocations: 15.83 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.01226, allocations: 74.38 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01226, allocations: 4 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01226, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01226, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.01251, allocations: 321.3 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01252, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.01255, allocations: 15.98 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.01255, allocations: 4 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.01256, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01256, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01256, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.01268, allocations: 207.8 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.01269, allocations: 11.89 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.0127, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.01273, allocations: 8 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.01277, allocations: 3.984 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.01277, allocations: 7.938 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.394e-05/0.01285, allocations: 149.5 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01285, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.01305, allocations: 35.88 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001073/0.01412, allocations: 483.2 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.01423, allocations: 35.67 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01424, allocations: 0 / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.01426, allocations: 19.62 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.01448, allocations: 26.97 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.01484, allocations: 169.9 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.01488, allocations: 63.34 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.866e-05/0.01492, allocations: 15.95 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.01496, allocations: 20.5 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01496, allocations: 3.938 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of Templates: time 0.004185/0.01915, allocations: 1.824 MB / 387.5 MB, free: 9.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.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.2264486639760435]