Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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) 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(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 175.5 kB / 17.4 MB, free: 4.414 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.495/1.495, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0009236/0.0009237, allocations: 98.75 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 11.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.278, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3783, allocations: 81.86 MB / 484.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.3785, allocations: 75.95 kB / 484.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01761/0.3961, allocations: 6.599 MB / 491.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3962, allocations: 0 / 491.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.216e-05/0.3962, allocations: 8 kB / 491.3 MB, free: 7.789 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002126/0.3984, allocations: 0.7293 MB / 492 MB, free: 7.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/0.3984, allocations: 8.031 kB / 492 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.3987, allocations: 52.38 kB / 492.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.3996, allocations: 339.4 kB / 492.4 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.3996, allocations: 29.38 kB / 492.4 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.3998, allocations: 36.38 kB / 492.5 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.4012, allocations: 0.5323 MB / 493 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.4012, allocations: 192 / 493 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.4013, allocations: 19.94 kB / 493 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.4013, allocations: 8 kB / 493 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.4028, allocations: 0.5699 MB / 493.6 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.4059, allocations: 1.569 MB / 495.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.407, allocations: 464.6 kB / 495.6 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/0.4075, allocations: 265.4 kB / 495.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.4076, allocations: 8.312 kB / 495.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.4076, allocations: 38.89 kB / 495.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.4076, allocations: 0 / 495.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.004465/0.4121, allocations: 1.452 MB / 497.4 MB, free: 1.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.4122, allocations: 158.2 kB / 497.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.4125, allocations: 270.9 kB / 497.8 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.4126, allocations: 33.7 kB / 497.8 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.4127, allocations: 212.4 kB / 498 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4128, allocations: 137.9 kB / 498.2 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.4129, allocations: 8 kB / 498.2 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.413, allocations: 350.7 kB / 498.5 MB, free: 204 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.4135, allocations: 200.8 kB / 498.7 MB, free: 0 / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.4141, allocations: 298.5 kB / 499 MB, free: 15.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/0.4151, allocations: 478.5 kB / 499.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4151, allocations: 0 / 499.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002077/0.4172, allocations: 0.838 MB / 0.4886 GB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4172, allocations: 4 kB / 0.4886 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4172, allocations: 4 kB / 0.4886 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.4185, allocations: 333.4 kB / 0.4889 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.4188, allocations: 87.88 kB / 0.489 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.4202, allocations: 1.374 MB / 0.4903 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.4207, allocations: 91.69 kB / 0.4904 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.4207, allocations: 19.98 kB / 0.4904 GB, free: 12.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.421, allocations: 157.1 kB / 0.4906 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.4211, allocations: 39.53 kB / 0.4906 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.4231, allocations: 0.7939 MB / 0.4914 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.4232, allocations: 4 kB / 0.4914 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4232, allocations: 3.938 kB / 0.4914 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4232, allocations: 3.984 kB / 0.4914 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.4238, allocations: 461.1 kB / 0.4919 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4239, allocations: 0 / 0.4919 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.4242, allocations: 71.95 kB / 0.4919 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.4253, allocations: 337.3 kB / 0.4922 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.4253, allocations: 12.05 kB / 0.4923 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.4265, allocations: 1.382 MB / 0.4936 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.4266, allocations: 3.984 kB / 0.4936 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.429, allocations: 1.105 MB / 0.4947 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4292, allocations: 104.7 kB / 0.4948 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.4292, allocations: 8 kB / 0.4948 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.4296, allocations: 71.91 kB / 0.4949 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.4297, allocations: 27.91 kB / 0.4949 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.4297, allocations: 15.98 kB / 0.4949 GB, free: 7.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.4299, allocations: 190 kB / 0.4951 GB, free: 7.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4299, allocations: 0 / 0.4951 GB, free: 7.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004195/0.4304, allocations: 111.8 kB / 0.4952 GB, free: 7.324 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.4306, allocations: 115.2 kB / 0.4953 GB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.4318, allocations: 0.504 MB / 0.4958 GB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4318, allocations: 0 / 0.4958 GB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.4324, allocations: 275.9 kB / 0.4961 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.4329, allocations: 52.67 kB / 0.4961 GB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.435, allocations: 1.073 MB / 0.4972 GB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.4354, allocations: 0.7995 MB / 0.4979 GB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.4356, allocations: 34.95 kB / 0.498 GB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.4357, allocations: 27.44 kB / 0.498 GB, free: 4.391 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4357, allocations: 0 / 0.498 GB, free: 4.391 MB / 378.7 MB Notification: Performance of Templates: time 0.1952/0.6309, allocations: 5.269 MB / 0.5031 GB, free: 101.2 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches