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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001365, allocations: 114.8 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 184.5 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2457, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004782/0.2505, allocations: 3.132 MB / 404.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2522, allocations: 0.7923 MB / 405.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.2526, allocations: 4 kB / 405.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.2529, allocations: 59.38 kB / 405.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.2532, allocations: 118.9 kB / 405.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.2537, allocations: 151.7 kB / 405.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000656/0.2544, allocations: 0.5502 MB / 406.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.2547, allocations: 164.3 kB / 406.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.2551, allocations: 219.3 kB / 406.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.2555, allocations: 243 kB / 406.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.2556, allocations: 59.92 kB / 406.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2558, allocations: 67.98 kB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.2559, allocations: 107.6 kB / 407.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.2561, allocations: 238.8 kB / 407.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.2567, allocations: 0.554 MB / 407.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2567, allocations: 0 / 407.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2567, allocations: 0 / 407.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2567, allocations: 0 / 407.8 MB, free: 2.375 MB / 318.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.001575/0.2583, allocations: 0.7993 MB / 408.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2583, allocations: 8.031 kB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2585, allocations: 48.38 kB / 408.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.2589, allocations: 306.5 kB / 409 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.2589, allocations: 25.38 kB / 409 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.259, allocations: 36.38 kB / 409.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2601, allocations: 0.5087 MB / 409.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2601, allocations: 4 kB / 409.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.2601, allocations: 19.94 kB / 409.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.2602, allocations: 8 kB / 409.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2615, allocations: 0.4996 MB / 410.1 MB, free: 8 kB / 318.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.002582/0.2641, allocations: 1.663 MB / 411.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2652, allocations: 423.7 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.2657, allocations: 242.8 kB / 412.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.2657, allocations: 12.33 kB / 412.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2658, allocations: 34.89 kB / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 3.617e-06/0.2658, allocations: 0 / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004975/0.2708, allocations: 1.365 MB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.2709, allocations: 166.2 kB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.2712, allocations: 271 kB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.2713, allocations: 37.7 kB / 414.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.2714, allocations: 208.3 kB / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2715, allocations: 134 kB / 414.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.2716, allocations: 78.12 kB / 414.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2718, allocations: 338.8 kB / 415 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.2723, allocations: 188.7 kB / 415.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.2729, allocations: 274.5 kB / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.2739, allocations: 430.5 kB / 415.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2739, allocations: 4 kB / 415.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001867/0.2758, allocations: 0.6819 MB / 416.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2758, allocations: 4 kB / 416.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2758, allocations: 4 kB / 416.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.2771, allocations: 321.4 kB / 416.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.2775, allocations: 79.88 kB / 417 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.2787, allocations: 1.358 MB / 418.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.2792, allocations: 67.62 kB / 418.4 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.2792, allocations: 16 kB / 418.4 MB, free: 7.254 MB / 334.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.000189/0.2794, allocations: 161.8 kB / 418.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.2795, allocations: 39.53 kB / 418.6 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.2817, allocations: 0.7277 MB / 419.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2817, allocations: 4 kB / 419.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2817, allocations: 0 / 419.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.2817, allocations: 0 / 419.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.2823, allocations: 472.9 kB / 419.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2823, allocations: 0 / 419.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.2826, allocations: 63.89 kB / 419.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.2838, allocations: 321.3 kB / 420.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.2839, allocations: 8 kB / 420.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.2851, allocations: 1.362 MB / 421.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2851, allocations: 3.984 kB / 421.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.2877, allocations: 1.02 MB / 422.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.2878, allocations: 116.6 kB / 422.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.2879, allocations: 8 kB / 422.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.2882, allocations: 40.02 kB / 422.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.2883, allocations: 28.14 kB / 422.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.2884, allocations: 16 kB / 422.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.2886, allocations: 189.9 kB / 423 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2886, allocations: 0 / 423 MB, free: 2.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.289, allocations: 115.8 kB / 423.1 MB, free: 2.418 MB / 334.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.0001665/0.2892, allocations: 126.1 kB / 423.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.2905, allocations: 480.1 kB / 423.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2905, allocations: 0 / 423.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006126/0.2911, allocations: 259.6 kB / 423.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.2915, allocations: 48.91 kB / 424 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.2931, allocations: 0.8794 MB / 424.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.2935, allocations: 0.7995 MB / 425.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.2935, allocations: 27.44 kB / 425.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2936, allocations: 3.938 kB / 425.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Templates: time 0.008808/0.3024, allocations: 7.169 MB / 432.9 MB, free: 8.574 MB / 350.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches