Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001377, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 61.34 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1204, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004948/0.1254, allocations: 3.153 MB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1271, allocations: 0.8546 MB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1273, allocations: 8 kB / 362.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.1275, allocations: 55.38 kB / 363 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1278, allocations: 118.9 kB / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.1282, allocations: 163.7 kB / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.1288, allocations: 0.5463 MB / 363.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.1292, allocations: 168.3 kB / 364 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.1295, allocations: 227.2 kB / 364.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.1298, allocations: 258.9 kB / 364.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.334e-05/0.1299, allocations: 52 kB / 364.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1301, allocations: 56 kB / 364.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1302, allocations: 115.7 kB / 364.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.1304, allocations: 238.9 kB / 364.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.131, allocations: 0.5606 MB / 365.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1311, allocations: 0 / 365.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1311, allocations: 0 / 365.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1311, allocations: 0 / 365.4 MB, free: 6.75 MB / 302.1 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.001691/0.1328, allocations: 0.7953 MB / 366.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1328, allocations: 8.031 kB / 366.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.1331, allocations: 64.3 kB / 366.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.1336, allocations: 315.4 kB / 366.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.1337, allocations: 25.38 kB / 366.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.1337, allocations: 36.38 kB / 366.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1348, allocations: 0.5047 MB / 367.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1348, allocations: 8 kB / 367.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.1348, allocations: 12 kB / 367.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1348, allocations: 8 kB / 367.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1361, allocations: 0.4996 MB / 367.7 MB, free: 4.371 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.1386, allocations: 1.67 MB / 369.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1397, allocations: 439.4 kB / 369.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.1402, allocations: 240.6 kB / 370 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.1402, allocations: 12.31 kB / 370.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1403, allocations: 38.89 kB / 370.1 MB, free: 1.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.1403, allocations: 4 kB / 370.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004753/0.145, allocations: 1.353 MB / 371.5 MB, free: 428 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1452, allocations: 162.2 kB / 371.6 MB, free: 228 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2163/0.3615, allocations: 270.6 kB / 371.9 MB, free: 20.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.3616, allocations: 33.77 kB / 371.9 MB, free: 20.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3618, allocations: 206.5 kB / 372.1 MB, free: 20.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3619, allocations: 143.1 kB / 372.2 MB, free: 20.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.3621, allocations: 77.67 kB / 372.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.3622, allocations: 342.6 kB / 372.7 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.3628, allocations: 182.8 kB / 372.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.3634, allocations: 286.3 kB / 373.1 MB, free: 19.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3644, allocations: 423.2 kB / 373.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3645, allocations: 1.031 kB / 373.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001992/0.3665, allocations: 0.6858 MB / 374.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3665, allocations: 7.188 kB / 374.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3665, allocations: 1.5 kB / 374.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.3679, allocations: 314.8 kB / 374.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.3683, allocations: 84.92 kB / 374.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.3695, allocations: 1.339 MB / 376 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.37, allocations: 81.53 kB / 376 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.3701, allocations: 20.39 kB / 376.1 MB, free: 18.46 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.3702, allocations: 153.7 kB / 376.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.3703, allocations: 36.09 kB / 376.2 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.3725, allocations: 0.7281 MB / 377 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3725, allocations: 8.031 kB / 377 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3725, allocations: 1.375 kB / 377 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3725, allocations: 2.672 kB / 377 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.3731, allocations: 463.5 kB / 377.4 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3731, allocations: 2.75 kB / 377.4 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.3735, allocations: 60.06 kB / 377.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.3746, allocations: 325.5 kB / 377.8 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.3747, allocations: 12.23 kB / 377.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009979/0.3757, allocations: 1.353 MB / 379.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3757, allocations: 4.906 kB / 379.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.3783, allocations: 1.013 MB / 380.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.3784, allocations: 117 kB / 380.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.3785, allocations: 15.17 kB / 380.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.3788, allocations: 39.67 kB / 380.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.3789, allocations: 25 kB / 380.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.379, allocations: 16.8 kB / 380.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002632/0.3792, allocations: 192 kB / 380.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3793, allocations: 0 / 380.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004631/0.3797, allocations: 113.8 kB / 380.7 MB, free: 15.8 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.3799, allocations: 111.8 kB / 380.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3813, allocations: 476.8 kB / 381.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3813, allocations: 0 / 381.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.3819, allocations: 261.9 kB / 381.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.3823, allocations: 54.23 kB / 381.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3839, allocations: 0.8657 MB / 382.4 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3841, allocations: 0.7989 MB / 383.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.3843, allocations: 30.62 kB / 383.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.3844, allocations: 25.19 kB / 383.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3844, allocations: 1.406 kB / 383.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of Templates: time 0.01365/0.398, allocations: 5.906 MB / 389.2 MB, free: 12.57 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches