Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001046/0.001046, allocations: 83.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.001075/0.001075, allocations: 165 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 1.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.621 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.2725/0.2725, 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.Test7,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.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.075e-05, allocations: 2.312 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002528/0.002559, allocations: 1.641 MB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003574, allocations: 0.5492 MB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.003637, allocations: 0 / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.003874, allocations: 23.84 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.004177, allocations: 79.56 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.00453, allocations: 119.5 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.004686, allocations: 59.83 kB / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.004808, allocations: 8 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.004875, allocations: 31.91 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.004944, allocations: 27.91 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.004961, allocations: 4 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.005035, allocations: 27.94 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.005087, allocations: 15.92 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.005122, allocations: 11.94 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.005282, allocations: 71.73 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005285, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005286, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005291, allocations: 0 / 380.7 MB, free: 15.97 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.0004043/0.005695, allocations: 416.1 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.005735, allocations: 16.03 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.005776, allocations: 8.891 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.005957, allocations: 151.1 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.005968, allocations: 384 / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.005993, allocations: 384 / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.006124, allocations: 54.95 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.006137, allocations: 192 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.006155, allocations: 8.125 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.006165, allocations: 0 / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.776e-05/0.006203, allocations: 11.98 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.00662, allocations: 275.8 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.006846, allocations: 43.16 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.006873, allocations: 15.67 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.006894, allocations: 3.938 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.006916, allocations: 41.39 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.006918, allocations: 0 / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003343/0.007252, allocations: 101.5 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.00729, allocations: 51.41 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.007406, allocations: 212.9 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.007419, allocations: 25.7 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.007469, allocations: 150.8 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.007489, allocations: 15.91 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.007519, allocations: 23.31 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.007628, allocations: 0.5 MB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.007642, allocations: 0 / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.007656, allocations: 16.05 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/0.007689, allocations: 19.69 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007689, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.405e-05/0.007753, allocations: 65.59 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.007766, allocations: 6.344 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007771, allocations: 4 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.007782, allocations: 4 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.805e-05/0.00782, allocations: 11.94 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.007827, allocations: 3.984 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.007844, allocations: 4 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.007849, allocations: 0 / 382.9 MB, free: 13.54 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 5.635e-05/0.007906, allocations: 164.5 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.007923, allocations: 11.95 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.008025, allocations: 66.12 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008026, allocations: 0 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.00803, allocations: 4 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008033, allocations: 4 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.00824, allocations: 325.3 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.008241, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.008265, allocations: 8.312 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008267, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.008274, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.008278, allocations: 7.984 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008279, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.666e-05/0.008376, allocations: 215.8 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.008382, allocations: 3.953 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.008392, allocations: 8 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.779e-05/0.00842, allocations: 0 / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.008449, allocations: 7.984 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.008451, allocations: 0 / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.325e-05/0.008505, allocations: 155.1 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008505, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000151/0.008656, allocations: 19.92 kB / 383.9 MB, free: 12.48 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.0007177/0.009373, allocations: 375.6 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.312e-05/0.009456, allocations: 31.62 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.009458, allocations: 0 / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.009479, allocations: 19.67 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.009669, allocations: 20.59 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.00995, allocations: 190.5 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.009983, allocations: 63.34 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.01001, allocations: 11.98 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.01004, allocations: 24.42 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01004, allocations: 0 / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of Templates: time 0.002745/0.01279, allocations: 1.255 MB / 385.9 MB, free: 10.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.1373650208115578]