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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 113 kB / 17.07 MB, free: 6.016 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.002505/0.002505, allocations: 189.4 kB / 18 MB, free: 5.098 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.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2678, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004825/0.2727, allocations: 3.133 MB / 403.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2743, allocations: 0.7962 MB / 404.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.2745, allocations: 7.938 kB / 404.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.2747, allocations: 59.38 kB / 404.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.275, allocations: 110.9 kB / 404.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.2754, allocations: 155.7 kB / 404.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.276, allocations: 0.5463 MB / 405 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.2763, allocations: 164.3 kB / 405.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.2767, allocations: 223.2 kB / 405.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.277, allocations: 255 kB / 405.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.108e-05/0.2771, allocations: 52 kB / 405.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.2772, allocations: 59.94 kB / 405.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2773, allocations: 107.7 kB / 405.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.2776, allocations: 246.8 kB / 406.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.2782, allocations: 0.5438 MB / 406.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2782, allocations: 3.938 kB / 406.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2782, allocations: 0 / 406.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2783, allocations: 0 / 406.7 MB, free: 2.371 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.001767/0.28, allocations: 0.8105 MB / 407.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2801, allocations: 12.03 kB / 407.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.2802, allocations: 74.72 kB / 407.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.2803, allocations: 48.66 kB / 407.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.2808, allocations: 310.7 kB / 407.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.2808, allocations: 33.38 kB / 408 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.2809, allocations: 36.38 kB / 408 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.282, allocations: 0.5046 MB / 408.5 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.282, allocations: 0 / 408.5 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/0.2821, allocations: 16 kB / 408.5 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2821, allocations: 8 kB / 408.5 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2836, allocations: 0.4996 MB / 409 MB, free: 15.91 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.002868/0.2864, allocations: 1.663 MB / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2876, allocations: 423.7 kB / 411.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.2882, allocations: 249.3 kB / 411.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.2882, allocations: 16.31 kB / 411.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.2883, allocations: 34.89 kB / 411.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.836e-06/0.2883, allocations: 3.938 kB / 411.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005097/0.2934, allocations: 1.365 MB / 412.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.2936, allocations: 158.2 kB / 412.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.294, allocations: 267 kB / 413.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.2941, allocations: 33.7 kB / 413.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.2943, allocations: 216.7 kB / 413.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.2945, allocations: 146.7 kB / 413.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.2947, allocations: 82.08 kB / 413.6 MB, free: 11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.2949, allocations: 346.8 kB / 414 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.2955, allocations: 184.7 kB / 414.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/0.2962, allocations: 274.5 kB / 414.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.2973, allocations: 434.5 kB / 414.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2973, allocations: 0 / 414.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002064/0.2993, allocations: 0.6743 MB / 415.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.2994, allocations: 8 kB / 415.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2994, allocations: 0 / 415.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.3008, allocations: 329.4 kB / 415.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.3011, allocations: 75.88 kB / 415.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.3028, allocations: 1.358 MB / 417.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.3034, allocations: 67.72 kB / 417.4 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.3034, allocations: 16 kB / 417.4 MB, free: 7.129 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.0002791/0.3037, allocations: 162.8 kB / 417.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.3038, allocations: 39.77 kB / 417.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.306, allocations: 0.7238 MB / 418.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.306, allocations: 4 kB / 418.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3061, allocations: 0 / 418.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3061, allocations: 7.984 kB / 418.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.3068, allocations: 480.8 kB / 418.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3068, allocations: 0 / 418.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.3071, allocations: 59.89 kB / 418.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.3084, allocations: 313.4 kB / 419.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.3085, allocations: 15.98 kB / 419.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.3099, allocations: 1.358 MB / 420.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.31, allocations: 4.125 kB / 420.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.3127, allocations: 1.02 MB / 421.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.3128, allocations: 112.8 kB / 421.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.3129, allocations: 8 kB / 421.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.3132, allocations: 48 kB / 421.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.3133, allocations: 20.16 kB / 421.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.3134, allocations: 12 kB / 421.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.3136, allocations: 201.9 kB / 421.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3136, allocations: 0 / 421.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004425/0.3141, allocations: 119.7 kB / 422 MB, free: 2.281 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.003097/0.3172, allocations: 1.569 MB / 423.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.3186, allocations: 479.4 kB / 424.1 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3186, allocations: 448 / 424.1 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006683/0.3193, allocations: 256 kB / 424.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.3198, allocations: 52.53 kB / 424.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/0.3277, allocations: 4.072 MB / 428.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.3282, allocations: 0.7956 MB / 429.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.3284, allocations: 38.95 kB / 429.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3286, allocations: 119.4 kB / 429.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3286, allocations: 0 / 429.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.3667, allocations: 9.36 MB / 438.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.76, allocations: 1.312 kB / 438.8 MB, free: 1.512 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > 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