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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 118.7 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 55.91 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2615, allocations: 50.55 MB / 408.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004465/0.266, allocations: 3.169 MB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2676, allocations: 0.8468 MB / 412.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.2678, allocations: 8 kB / 412.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.268, allocations: 63.38 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.2682, allocations: 114.9 kB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.2686, allocations: 159.7 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.2692, allocations: 0.5424 MB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.2695, allocations: 172.3 kB / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.2699, allocations: 231.2 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.2702, allocations: 251 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.863e-05/0.2703, allocations: 52 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.2704, allocations: 63.98 kB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2705, allocations: 111.7 kB / 414.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.2708, allocations: 234.9 kB / 414.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.2714, allocations: 0.5593 MB / 415.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2714, allocations: 0 / 415.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2714, allocations: 3.938 kB / 415.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2714, allocations: 4 kB / 415.4 MB, free: 10.86 MB / 334.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.00168/0.2731, allocations: 0.8066 MB / 416.2 MB, free: 10 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2732, allocations: 12.03 kB / 416.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.807e-05/0.2733, allocations: 74.66 kB / 416.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.2735, allocations: 60.59 kB / 416.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.274, allocations: 327.5 kB / 416.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.2741, allocations: 29.38 kB / 416.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.2742, allocations: 36.38 kB / 416.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.2753, allocations: 0.5046 MB / 417.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2753, allocations: 0 / 417.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.2754, allocations: 16 kB / 417.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.2754, allocations: 12 kB / 417.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2768, allocations: 0.4918 MB / 417.7 MB, free: 8.379 MB / 334.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.002835/0.2797, allocations: 1.659 MB / 419.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2808, allocations: 427.6 kB / 419.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.2814, allocations: 248.6 kB / 420.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.2814, allocations: 8.312 kB / 420.1 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.2815, allocations: 42.89 kB / 420.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.2815, allocations: 0 / 420.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005056/0.2866, allocations: 1.369 MB / 421.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2867, allocations: 158.2 kB / 421.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.2871, allocations: 274.9 kB / 421.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.2871, allocations: 33.7 kB / 421.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.2873, allocations: 212.7 kB / 422.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.2875, allocations: 142.8 kB / 422.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.2876, allocations: 82.12 kB / 422.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2878, allocations: 338.8 kB / 422.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.2883, allocations: 188.7 kB / 422.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.289, allocations: 282.5 kB / 423.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.29, allocations: 422.5 kB / 423.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.29, allocations: 0 / 423.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001932/0.292, allocations: 0.6898 MB / 424.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.292, allocations: 8 kB / 424.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.292, allocations: 0 / 424.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.2934, allocations: 321.4 kB / 424.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.2938, allocations: 75.88 kB / 424.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2952, allocations: 1.347 MB / 426 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005397/0.2958, allocations: 87.72 kB / 426.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.2958, allocations: 15.94 kB / 426.1 MB, free: 15.6 MB / 350.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.0002117/0.2961, allocations: 159 kB / 426.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.2961, allocations: 39.77 kB / 426.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.2984, allocations: 0.7201 MB / 427 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2984, allocations: 8 kB / 427 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2984, allocations: 0 / 427 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2984, allocations: 0 / 427 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.299, allocations: 473.1 kB / 427.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.299, allocations: 0 / 427.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.2993, allocations: 55.95 kB / 427.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.3006, allocations: 321.4 kB / 427.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.3006, allocations: 11.94 kB / 427.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.3021, allocations: 1.355 MB / 429.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3021, allocations: 3.938 kB / 429.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.3049, allocations: 1.019 MB / 430.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.3051, allocations: 124.7 kB / 430.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.3051, allocations: 4 kB / 430.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.3055, allocations: 52.02 kB / 430.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.3056, allocations: 31.73 kB / 430.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.3057, allocations: 8 kB / 430.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.3059, allocations: 190 kB / 430.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3059, allocations: 4 kB / 430.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.3064, allocations: 119.8 kB / 430.8 MB, free: 10.76 MB / 350.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.003205/0.3096, allocations: 1.561 MB / 432.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.311, allocations: 487.5 kB / 432.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.311, allocations: 0 / 432.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.3117, allocations: 243.8 kB / 433 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.3121, allocations: 59.23 kB / 433.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/0.3202, allocations: 4.085 MB / 437.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.3207, allocations: 0.7956 MB / 438 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.321, allocations: 38.95 kB / 438 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.3212, allocations: 119.4 kB / 438.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of SimCode: time 4.699e-06/0.3212, allocations: 0 / 438.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.3575, allocations: 9.389 MB / 447.5 MB, free: 9.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.58, allocations: 4 kB / 447.5 MB, free: 9.961 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > 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.1.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