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.0009572/0.0009572, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.6 MB / 244.3 MB, free: 8.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007852/0.0007852, allocations: 104.2 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000213/0.000213, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2006, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002224/0.2029, allocations: 2.679 MB / 410.2 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.2038, allocations: 0.7979 MB / 411 MB, free: 24.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.204, allocations: 8 kB / 411 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2041, allocations: 49.92 kB / 411 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2042, allocations: 95.16 kB / 411.1 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.2045, allocations: 109.4 kB / 411.2 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.2048, allocations: 0.4956 MB / 411.7 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.205, allocations: 129.2 kB / 411.9 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.2052, allocations: 183.4 kB / 412 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.2054, allocations: 219.1 kB / 412.2 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.2055, allocations: 28 kB / 412.3 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.2056, allocations: 35.98 kB / 412.3 MB, free: 23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.2056, allocations: 87.66 kB / 412.4 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.2057, allocations: 97.52 kB / 412.5 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.2059, allocations: 411.8 kB / 412.9 MB, free: 22.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2059, allocations: 4 kB / 412.9 MB, free: 22.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.206, allocations: 4 kB / 412.9 MB, free: 22.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.206, allocations: 0 / 412.9 MB, free: 22.4 MB / 298.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.00124/0.2072, allocations: 0.7563 MB / 413.7 MB, free: 21.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2073, allocations: 15.97 kB / 413.7 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.2074, allocations: 55.44 kB / 413.7 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.2077, allocations: 297.4 kB / 414 MB, free: 21.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.2077, allocations: 29 kB / 414 MB, free: 21.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.2078, allocations: 36 kB / 414.1 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.2087, allocations: 0.5318 MB / 414.6 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2087, allocations: 0 / 414.6 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.2088, allocations: 16 kB / 414.6 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.2088, allocations: 8 kB / 414.6 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.21, allocations: 0.566 MB / 415.2 MB, free: 19.98 MB / 298.7 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.001966/0.212, allocations: 1.698 MB / 416.9 MB, free: 18.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009573/0.2129, allocations: 465.1 kB / 417.4 MB, free: 17.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.2134, allocations: 273.1 kB / 417.6 MB, free: 17.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.2134, allocations: 8.312 kB / 417.6 MB, free: 17.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.2135, allocations: 38.89 kB / 417.7 MB, free: 17.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.452e-06/0.2135, allocations: 0 / 417.7 MB, free: 17.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004481/0.2179, allocations: 1.542 MB / 419.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.218, allocations: 158.2 kB / 419.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.2182, allocations: 278.9 kB / 419.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.2183, allocations: 29.7 kB / 419.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.2184, allocations: 204.4 kB / 419.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.2184, allocations: 145.9 kB / 420 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.2185, allocations: 12 kB / 420 MB, free: 14.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.2185, allocations: 338.8 kB / 420.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.219, allocations: 204.7 kB / 420.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.2195, allocations: 306.5 kB / 420.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.2199, allocations: 215.8 kB / 421.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2199, allocations: 7.875 kB / 421.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001696/0.2217, allocations: 0.7718 MB / 421.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2217, allocations: 8.062 kB / 421.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2217, allocations: 0 / 421.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.2229, allocations: 333.4 kB / 422.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.2232, allocations: 87.88 kB / 422.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009048/0.2241, allocations: 1.366 MB / 423.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.2245, allocations: 91.69 kB / 423.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.2246, allocations: 15.98 kB / 423.7 MB, free: 11.07 MB / 298.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.0001546/0.2247, allocations: 157.7 kB / 423.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.2248, allocations: 35.56 kB / 423.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.2267, allocations: 0.829 MB / 424.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2267, allocations: 4 kB / 424.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2268, allocations: 3.984 kB / 424.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2268, allocations: 3.953 kB / 424.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.2272, allocations: 461.1 kB / 425.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2272, allocations: 0 / 425.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.2274, allocations: 71.88 kB / 425.3 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.2285, allocations: 337.4 kB / 425.6 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2285, allocations: 8 kB / 425.6 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000894/0.2294, allocations: 1.381 MB / 427 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2295, allocations: 3.938 kB / 427 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.2317, allocations: 1.128 MB / 428.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.2318, allocations: 116.6 kB / 428.2 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.2318, allocations: 8 kB / 428.2 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.2322, allocations: 64 kB / 428.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.2322, allocations: 23.97 kB / 428.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2323, allocations: 8 kB / 428.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.2324, allocations: 197.9 kB / 428.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2324, allocations: 0 / 428.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.2328, allocations: 107.8 kB / 428.6 MB, free: 5.984 MB / 298.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.0001375/0.2329, allocations: 107.2 kB / 428.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.234, allocations: 0.5198 MB / 429.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.234, allocations: 0 / 429.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.2346, allocations: 275.9 kB / 429.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2349, allocations: 44.55 kB / 429.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2362, allocations: 1.106 MB / 430.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.2364, allocations: 0.7995 MB / 431.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.2365, allocations: 27.44 kB / 431.5 MB, free: 3.043 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2365, allocations: 0 / 431.5 MB, free: 3.043 MB / 298.7 MB Notification: Performance of Templates: time 0.007369/0.2439, allocations: 7.113 MB / 438.6 MB, free: 11.93 MB / 314.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/jenkins/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