Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 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.2417/0.2417, allocations: 44.9 MB / 353.5 MB, free: 11.93 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 71.88 kB / 497.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4239, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003034/0.4269, allocations: 1.584 MB / 0.5504 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.4278, allocations: 414.5 kB / 0.5508 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.4279, allocations: 3.938 kB / 0.5508 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.4281, allocations: 21.33 kB / 0.5508 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.4283, allocations: 34.91 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.4286, allocations: 93.47 kB / 0.5509 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.4287, allocations: 55.44 kB / 0.551 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4288, allocations: 19.72 kB / 0.551 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.4289, allocations: 22.95 kB / 0.551 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.4289, allocations: 21.5 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.429, allocations: 2.656 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.4291, allocations: 34.77 kB / 0.5511 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.4291, allocations: 13.28 kB / 0.5511 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.4292, allocations: 23.69 kB / 0.5511 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.4293, allocations: 77.09 kB / 0.5512 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4293, allocations: 0 / 0.5512 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.4293, allocations: 3.984 kB / 0.5512 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4293, allocations: 4 kB / 0.5512 GB, free: 11.34 MB / 398.1 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.0005143/0.4299, allocations: 299.7 kB / 0.5515 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4299, allocations: 10.3 kB / 0.5515 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.4299, allocations: 7.609 kB / 0.5515 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4301, allocations: 136.1 kB / 0.5516 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.4301, allocations: 384 / 0.5516 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.4301, allocations: 2.938 kB / 0.5516 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.4303, allocations: 55.55 kB / 0.5517 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4303, allocations: 0 / 0.5517 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4303, allocations: 13.31 kB / 0.5517 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4303, allocations: 3.938 kB / 0.5517 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.4304, allocations: 20.92 kB / 0.5517 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.4308, allocations: 246 kB / 0.5519 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.431, allocations: 38.81 kB / 0.552 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.431, allocations: 19.91 kB / 0.552 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.4311, allocations: 3.984 kB / 0.552 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4311, allocations: 36.16 kB / 0.552 GB, free: 10.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4311, allocations: 0 / 0.552 GB, free: 10.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005523/0.4316, allocations: 139.3 kB / 0.5522 GB, free: 10.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.4317, allocations: 56.62 kB / 0.5522 GB, free: 10.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4318, allocations: 153.3 kB / 0.5524 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4319, allocations: 29.7 kB / 0.5524 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.4319, allocations: 95.81 kB / 0.5525 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.4319, allocations: 14.16 kB / 0.5525 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.432, allocations: 21.14 kB / 0.5525 GB, free: 10.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4321, allocations: 321.1 kB / 0.5528 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.4322, allocations: 19.3 kB / 0.5529 GB, free: 9.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.4323, allocations: 22.73 kB / 0.5529 GB, free: 9.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4324, allocations: 47.64 kB / 0.5529 GB, free: 9.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4324, allocations: 0 / 0.5529 GB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.4326, allocations: 76.59 kB / 0.553 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4326, allocations: 5.125 kB / 0.553 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4326, allocations: 0 / 0.553 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4326, allocations: 5.078 kB / 0.553 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/0.4327, allocations: 12.72 kB / 0.553 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4327, allocations: 1.031 kB / 0.553 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.4327, allocations: 7.172 kB / 0.553 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4328, allocations: 14 kB / 0.553 GB, free: 9.57 MB / 398.1 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.0001003/0.4329, allocations: 118.5 kB / 0.5531 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.4329, allocations: 7.672 kB / 0.5532 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.4331, allocations: 89.88 kB / 0.5532 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4331, allocations: 4 kB / 0.5532 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4331, allocations: 1.094 kB / 0.5532 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4331, allocations: 3.984 kB / 0.5532 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.4336, allocations: 321.8 kB / 0.5536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4336, allocations: 0 / 0.5536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.4336, allocations: 9.344 kB / 0.5536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4336, allocations: 1.25 kB / 0.5536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4337, allocations: 4 kB / 0.5536 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4337, allocations: 5.375 kB / 0.5536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4337, allocations: 3.984 kB / 0.5536 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.4339, allocations: 179 kB / 0.5537 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.4339, allocations: 9.984 kB / 0.5538 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4339, allocations: 1.406 kB / 0.5538 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.434, allocations: 14.92 kB / 0.5538 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.4341, allocations: 6.906 kB / 0.5538 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.4341, allocations: 0 / 0.5538 GB, free: 8.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4342, allocations: 117.1 kB / 0.5539 GB, free: 8.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4342, allocations: 0 / 0.5539 GB, free: 8.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.4344, allocations: 14.16 kB / 0.5539 GB, free: 8.758 MB / 398.1 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.00145/0.4359, allocations: 396.5 kB / 0.5543 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.4361, allocations: 46.5 kB / 0.5543 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4361, allocations: 5.062 kB / 0.5543 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.4362, allocations: 26.2 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.4366, allocations: 26.47 kB / 0.5544 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.437, allocations: 188.2 kB / 0.5546 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4374, allocations: 0.6978 MB / 0.5552 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.4375, allocations: 5.75 kB / 0.5553 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.4375, allocations: 15.12 kB / 0.5553 GB, free: 7.633 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4375, allocations: 0 / 0.5553 GB, free: 7.633 MB / 398.1 MB Notification: Performance of Templates: time 0.004613/0.4421, allocations: 1.114 MB / 0.5564 GB, free: 7.055 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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: 5.516333452425897]