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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 107.2 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4162/0.4162, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.86 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3945, allocations: 60.8 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002962/0.3975, allocations: 1.619 MB / 0.508 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.3982, allocations: 412.7 kB / 0.5084 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.3983, allocations: 0 / 0.5084 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.3985, allocations: 27.16 kB / 0.5084 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3987, allocations: 27.94 kB / 0.5084 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.3989, allocations: 94.77 kB / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3991, allocations: 53.61 kB / 0.5086 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3992, allocations: 17.77 kB / 0.5086 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.3992, allocations: 21.38 kB / 0.5086 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.3993, allocations: 19.56 kB / 0.5086 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.3993, allocations: 2.625 kB / 0.5086 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.3994, allocations: 31.22 kB / 0.5086 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.3994, allocations: 7.047 kB / 0.5087 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3995, allocations: 20.06 kB / 0.5087 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3996, allocations: 79.31 kB / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3996, allocations: 0 / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3996, allocations: 0 / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3997, allocations: 2.469 kB / 0.5087 GB, free: 36.78 MB / 378.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.0004055/0.4001, allocations: 386.4 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4001, allocations: 7.781 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.4001, allocations: 7.469 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.4003, allocations: 186.5 kB / 0.5093 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.4003, allocations: 2.875 kB / 0.5093 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.4003, allocations: 4.156 kB / 0.5093 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4005, allocations: 52.03 kB / 0.5094 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4005, allocations: 3.938 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.4005, allocations: 7.438 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4005, allocations: 4 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.4006, allocations: 22.11 kB / 0.5094 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.4009, allocations: 284.5 kB / 0.5097 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.4011, allocations: 42.33 kB / 0.5097 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.4012, allocations: 24.89 kB / 0.5097 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4012, allocations: 0 / 0.5097 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.4012, allocations: 33.41 kB / 0.5098 GB, free: 35.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.4012, allocations: 0 / 0.5098 GB, free: 35.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004835/0.4017, allocations: 141.6 kB / 0.5099 GB, free: 35.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.4018, allocations: 54.34 kB / 0.51 GB, free: 35.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.4019, allocations: 146.4 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.4019, allocations: 25.7 kB / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.4019, allocations: 91.14 kB / 0.5102 GB, free: 35.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.4019, allocations: 25.73 kB / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.402, allocations: 12.5 kB / 0.5102 GB, free: 35.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.402, allocations: 325 kB / 0.5106 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.4021, allocations: 18.69 kB / 0.5106 GB, free: 35.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.4022, allocations: 29.28 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4023, allocations: 53.91 kB / 0.5107 GB, free: 34.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4023, allocations: 0 / 0.5107 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001552/0.4024, allocations: 86.83 kB / 0.5107 GB, free: 34.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4025, allocations: 8.188 kB / 0.5107 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4025, allocations: 1.094 kB / 0.5107 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4025, allocations: 0 / 0.5107 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.4026, allocations: 13.47 kB / 0.5108 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.4026, allocations: 4.281 kB / 0.5108 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.4026, allocations: 3.219 kB / 0.5108 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.4026, allocations: 0.9375 kB / 0.5108 GB, free: 34.93 MB / 378.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 6.14e-05/0.4027, allocations: 122.4 kB / 0.5109 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.4027, allocations: 3.188 kB / 0.5109 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.4029, allocations: 111.5 kB / 0.511 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.403, allocations: 0 / 0.511 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.403, allocations: 0 / 0.511 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.403, allocations: 2.875 kB / 0.511 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.4033, allocations: 349.6 kB / 0.5113 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4033, allocations: 0 / 0.5113 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.4034, allocations: 16.28 kB / 0.5113 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4034, allocations: 3.938 kB / 0.5113 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.4034, allocations: 4 kB / 0.5113 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4034, allocations: 3.938 kB / 0.5114 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4034, allocations: 0 / 0.5114 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.4038, allocations: 0.7665 MB / 0.5121 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.4038, allocations: 85.02 kB / 0.5122 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4038, allocations: 6.922 kB / 0.5122 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.4039, allocations: 6.281 kB / 0.5122 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.4039, allocations: 0 / 0.5122 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4039, allocations: 6.875 kB / 0.5122 GB, free: 33.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.404, allocations: 110.1 kB / 0.5123 GB, free: 33.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.404, allocations: 0 / 0.5123 GB, free: 33.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.4043, allocations: 8.406 kB / 0.5123 GB, free: 33.46 MB / 378.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.0008415/0.4052, allocations: 400.9 kB / 0.5127 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.4054, allocations: 57.08 kB / 0.5128 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4054, allocations: 0 / 0.5128 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.4054, allocations: 31.64 kB / 0.5128 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.4058, allocations: 18.88 kB / 0.5128 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.4062, allocations: 312.2 kB / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.4063, allocations: 0.6971 MB / 0.5138 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.4064, allocations: 15.75 kB / 0.5138 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.4064, allocations: 13.72 kB / 0.5138 GB, free: 32.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4064, allocations: 4 kB / 0.5138 GB, free: 32.25 MB / 378.7 MB Notification: Performance of Templates: time 0.003207/0.4096, allocations: 1.059 MB / 0.5148 GB, free: 32.12 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches