Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 195.4 kB / 18.06 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 226.5 MB / 245.3 MB, free: 8.262 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007362/0.0007362, allocations: 100.7 kB / 297.4 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002043/0.0002043, allocations: 8 kB / 357.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1835, allocations: 51.29 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08623/0.2698, allocations: 82.56 MB / 491.2 MB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.27, allocations: 76.7 kB / 491.3 MB, free: 8.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01727/0.2873, allocations: 6.692 MB / 498 MB, free: 2.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2873, allocations: 0 / 498 MB, free: 2.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.2873, allocations: 12 kB / 498 MB, free: 2.258 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.001262/0.2886, allocations: 0.7291 MB / 498.7 MB, free: 1.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2886, allocations: 8.031 kB / 498.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.2888, allocations: 68.36 kB / 498.8 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.2893, allocations: 339.4 kB / 499.1 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.2893, allocations: 29.38 kB / 499.2 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.2894, allocations: 36.38 kB / 499.2 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2904, allocations: 0.5284 MB / 499.7 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2905, allocations: 192 / 499.7 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.2905, allocations: 19.94 kB / 499.7 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2905, allocations: 8 kB / 499.8 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.2918, allocations: 0.566 MB / 0.4886 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.2942, allocations: 1.565 MB / 0.4901 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2953, allocations: 477.2 kB / 0.4906 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.2958, allocations: 264.2 kB / 0.4908 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.2958, allocations: 8.312 kB / 0.4908 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2959, allocations: 38.89 kB / 0.4909 GB, free: 13.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.823e-06/0.2959, allocations: 0 / 0.4909 GB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.004506/0.3004, allocations: 1.449 MB / 0.4923 GB, free: 11.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.3005, allocations: 162.2 kB / 0.4924 GB, free: 11.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.3008, allocations: 266.9 kB / 0.4927 GB, free: 11.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.3008, allocations: 37.7 kB / 0.4927 GB, free: 11.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.301, allocations: 212.3 kB / 0.4929 GB, free: 11.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.3011, allocations: 138 kB / 0.4931 GB, free: 11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.3011, allocations: 4 kB / 0.4931 GB, free: 11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3012, allocations: 350.7 kB / 0.4934 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.3017, allocations: 204.7 kB / 0.4936 GB, free: 10.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.3023, allocations: 306.5 kB / 0.4939 GB, free: 10.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.3033, allocations: 470.5 kB / 0.4943 GB, free: 9.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3033, allocations: 0 / 0.4943 GB, free: 9.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002216/0.3055, allocations: 0.8303 MB / 0.4952 GB, free: 8.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3055, allocations: 4 kB / 0.4952 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3056, allocations: 4 kB / 0.4952 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.3068, allocations: 337.4 kB / 0.4955 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.3072, allocations: 87.88 kB / 0.4956 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3084, allocations: 1.366 MB / 0.4969 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.3088, allocations: 99.61 kB / 0.497 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.3089, allocations: 16 kB / 0.497 GB, free: 6.828 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.0001958/0.3091, allocations: 157.7 kB / 0.4972 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.3092, allocations: 39.53 kB / 0.4972 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.3112, allocations: 0.79 MB / 0.498 GB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3112, allocations: 4 kB / 0.498 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3112, allocations: 3.938 kB / 0.498 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3113, allocations: 3.984 kB / 0.498 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.3118, allocations: 461.1 kB / 0.4984 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3118, allocations: 0 / 0.4984 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.3121, allocations: 67.95 kB / 0.4985 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.3133, allocations: 337.4 kB / 0.4988 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.3133, allocations: 11.98 kB / 0.4988 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.3145, allocations: 1.387 MB / 0.5002 GB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3145, allocations: 0 / 0.5002 GB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.317, allocations: 1.098 MB / 0.5012 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.3171, allocations: 112.6 kB / 0.5014 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.3171, allocations: 15.94 kB / 0.5014 GB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.3175, allocations: 63.92 kB / 0.5014 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.3176, allocations: 27.89 kB / 0.5015 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.3176, allocations: 16 kB / 0.5015 GB, free: 2.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002183/0.3178, allocations: 189.9 kB / 0.5017 GB, free: 1.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3178, allocations: 0 / 0.5017 GB, free: 1.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000396/0.3182, allocations: 115.8 kB / 0.5018 GB, free: 1.785 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.0001581/0.3184, allocations: 111.2 kB / 0.5019 GB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3196, allocations: 0.5116 MB / 0.5024 GB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3196, allocations: 0 / 0.5024 GB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.3203, allocations: 279.9 kB / 0.5026 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3207, allocations: 53.02 kB / 0.5027 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1466/0.4672, allocations: 1.097 MB / 0.5038 GB, free: 97.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.4675, allocations: 0.7949 MB / 0.5045 GB, free: 96.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.4677, allocations: 26.7 kB / 0.5046 GB, free: 96.71 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4677, allocations: 1.531 kB / 0.5046 GB, free: 96.71 MB / 378.7 MB Notification: Performance of Templates: time 0.008901/0.4766, allocations: 7.106 MB / 0.5115 GB, free: 95.98 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches