Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003148/0.003149, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.984/3.984, allocations: 205.4 MB / 223.6 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001775/0.001775, allocations: 97.34 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006196/0.00062, allocations: 12 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.6283, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/0.8818, allocations: 80.48 MB / 456.2 MB, free: 160 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005229/0.8825, allocations: 71.95 kB / 456.3 MB, free: 88 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03824/0.9208, allocations: 6.463 MB / 462.7 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.122e-06/0.9209, allocations: 0 / 462.7 MB, free: 9.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.244e-05/0.921, allocations: 12 kB / 462.7 MB, free: 9.574 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.008261/0.9293, allocations: 0.7409 MB / 463.5 MB, free: 8.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.36e-05/0.9294, allocations: 8.031 kB / 463.5 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.93, allocations: 52.38 kB / 463.5 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.9313, allocations: 302.5 kB / 463.8 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.9315, allocations: 29.38 kB / 463.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.9318, allocations: 36.38 kB / 463.9 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.9346, allocations: 0.5246 MB / 464.4 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/0.9347, allocations: 8.172 kB / 464.4 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.9348, allocations: 19.94 kB / 464.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.9348, allocations: 8 kB / 464.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.9379, allocations: 0.5621 MB / 465 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007193/0.9452, allocations: 1.579 MB / 466.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.948, allocations: 470 kB / 467.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.9493, allocations: 262 kB / 467.3 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.9495, allocations: 16.3 kB / 467.3 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.9496, allocations: 38.89 kB / 467.4 MB, free: 4.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.525e-05/0.9496, allocations: 4 kB / 467.4 MB, free: 4.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.01011/0.9598, allocations: 1.447 MB / 468.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003689/0.9603, allocations: 162.2 kB / 469 MB, free: 3.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.9616, allocations: 270.9 kB / 469.3 MB, free: 2.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.9618, allocations: 33.7 kB / 469.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.9622, allocations: 208.3 kB / 469.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.9626, allocations: 141.9 kB / 469.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.9627, allocations: 11.94 kB / 469.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003896/0.9631, allocations: 342.8 kB / 470 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/0.964, allocations: 204.7 kB / 470.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.9652, allocations: 302.5 kB / 470.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.967, allocations: 467.3 kB / 470.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.967, allocations: 0 / 470.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003814/0.9708, allocations: 0.8303 MB / 471.8 MB, free: 140 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.971, allocations: 4 kB / 471.8 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.971, allocations: 8.031 kB / 471.8 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.9733, allocations: 337.4 kB / 472.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.974, allocations: 83.88 kB / 472.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.977, allocations: 1.366 MB / 473.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.978, allocations: 91.67 kB / 473.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.9782, allocations: 16 kB / 473.6 MB, free: 14.18 MB / 362.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.0005902/0.9788, allocations: 157.7 kB / 473.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.979, allocations: 39.53 kB / 473.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.9827, allocations: 0.7902 MB / 474.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.9828, allocations: 4 kB / 474.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/0.9828, allocations: 3.938 kB / 474.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.9828, allocations: 7.984 kB / 474.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.9842, allocations: 457.3 kB / 475.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.9842, allocations: 4 kB / 475.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.9847, allocations: 71.83 kB / 475.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002141/0.9869, allocations: 341.4 kB / 475.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.987, allocations: 8 kB / 475.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.9899, allocations: 1.389 MB / 476.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.9899, allocations: 0 / 476.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00439/0.9944, allocations: 1.105 MB / 478 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.9947, allocations: 104.7 kB / 478.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.9949, allocations: 12 kB / 478.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000663/0.9955, allocations: 60 kB / 478.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.9957, allocations: 27.91 kB / 478.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.9958, allocations: 19.92 kB / 478.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004737/0.9963, allocations: 186 kB / 478.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9963, allocations: 0 / 478.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009807/0.9973, allocations: 115.7 kB / 478.5 MB, free: 9.141 MB / 362.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.0004336/0.9977, allocations: 119.9 kB / 478.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002299/1, allocations: 0.4992 MB / 479.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1, allocations: 0 / 479.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.001, allocations: 276.1 kB / 479.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009178/1.002, allocations: 52.53 kB / 479.5 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/1.006, allocations: 1.108 MB / 480.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/1.007, allocations: 0.792 MB / 481.4 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/1.007, allocations: 31.44 kB / 481.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of SimCode: time 2.455e-06/1.007, allocations: 4 kB / 481.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of Templates: time 0.01854/1.026, allocations: 7.027 MB / 488.4 MB, free: 15.18 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches