Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001907/0.001907, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001889/0.001889, allocations: 165.3 kB / 24.27 MB, free: 152 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.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3518/0.3518, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.255e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.004496/0.004528, allocations: 1.607 MB / 376.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.00629, allocations: 0.5414 MB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.006365, allocations: 0 / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.006657, allocations: 23.84 kB / 377.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.007085, allocations: 75.56 kB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.007531, allocations: 111.6 kB / 377.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.007756, allocations: 75.75 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.007871, allocations: 8 kB / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.007971, allocations: 31.91 kB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.008059, allocations: 23.91 kB / 377.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.008082, allocations: 0 / 377.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.008195, allocations: 27.94 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.406e-05/0.008269, allocations: 19.92 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.008315, allocations: 11.94 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.008573, allocations: 79.7 kB / 377.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.008576, allocations: 0 / 377.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.008581, allocations: 4 kB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.008586, allocations: 0 / 377.9 MB, free: 2.316 MB / 346.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.0006913/0.009277, allocations: 415.8 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.009324, allocations: 8.031 kB / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.009394, allocations: 16.83 kB / 378.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.009677, allocations: 140.4 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.009694, allocations: 4.375 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.009717, allocations: 384 / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.00988, allocations: 42.25 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.009892, allocations: 192 / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.009911, allocations: 8.125 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.009916, allocations: 4 kB / 378.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.01002, allocations: 15.98 kB / 378.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.01057, allocations: 283.8 kB / 378.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.01086, allocations: 47.05 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.01093, allocations: 11.69 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.01095, allocations: 7.938 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.011, allocations: 41.47 kB / 378.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.011, allocations: 0 / 378.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007024/0.01171, allocations: 125.3 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.01176, allocations: 55.41 kB / 379.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.01203, allocations: 213.9 kB / 379.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.01206, allocations: 29.64 kB / 379.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.01218, allocations: 138.9 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.01221, allocations: 19.89 kB / 379.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.01228, allocations: 23.38 kB / 379.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003361/0.01261, allocations: 0.4923 MB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.01269, allocations: 12 kB / 380 MB, free: 0 / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/0.01278, allocations: 15.98 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.01294, allocations: 39.67 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01294, allocations: 4 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002429/0.01318, allocations: 78.03 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.0132, allocations: 8 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01321, allocations: 0 / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01322, allocations: 0 / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.0133, allocations: 11.94 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.01331, allocations: 3.938 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.01338, allocations: 19.88 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.0134, allocations: 3.984 kB / 380.2 MB, free: 15.81 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 0.0001513/0.01355, allocations: 160.6 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.01361, allocations: 15.89 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.0139, allocations: 78.14 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01391, allocations: 3.984 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01391, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01392, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.01455, allocations: 341.3 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01455, allocations: 0 / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.01463, allocations: 15.98 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01463, allocations: 0 / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.01464, allocations: 4 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01464, allocations: 0 / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01464, allocations: 0 / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.01501, allocations: 231.8 kB / 381 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.01502, allocations: 3.953 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01504, allocations: 256 / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.01514, allocations: 4 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.0152, allocations: 11.98 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.01521, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.01537, allocations: 157.6 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01537, allocations: 0 / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003834/0.01575, allocations: 12 kB / 381.2 MB, free: 14.71 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.003177/0.01893, allocations: 434.6 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.01913, allocations: 51.59 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01913, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.01922, allocations: 23.67 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.01954, allocations: 27.92 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.02009, allocations: 182.8 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.02019, allocations: 83.31 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.02025, allocations: 15.98 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.02029, allocations: 16.48 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02029, allocations: 4 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of Templates: time 0.004781/0.02507, allocations: 1.164 MB / 383.2 MB, free: 12.85 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.829388087033294]