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.001139/0.001139, allocations: 108.4 kB / 17.06 MB, free: 5.969 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.001286/0.001287, allocations: 200 kB / 18.01 MB, free: 5.051 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.286/1.286, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000946/0.000946, allocations: 43.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2719, allocations: 49.45 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004219/0.2762, allocations: 3.132 MB / 403.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2776, allocations: 0.7884 MB / 404.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2777, allocations: 4 kB / 404.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.2779, allocations: 67.31 kB / 404.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2781, allocations: 111 kB / 404.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.2785, allocations: 159.7 kB / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004731/0.279, allocations: 0.5502 MB / 405.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.2792, allocations: 164.3 kB / 405.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.2795, allocations: 219.3 kB / 405.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.2798, allocations: 251 kB / 405.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.2798, allocations: 52 kB / 405.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.28, allocations: 52 kB / 405.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/0.2801, allocations: 119.5 kB / 405.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.2803, allocations: 238.9 kB / 406.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.2808, allocations: 0.5516 MB / 406.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2808, allocations: 0 / 406.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2808, allocations: 4 kB / 406.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2809, allocations: 0 / 406.7 MB, free: 2.34 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.001514/0.2824, allocations: 0.8027 MB / 407.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2824, allocations: 15.89 kB / 407.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.057e-05/0.2825, allocations: 78.7 kB / 407.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.2826, allocations: 52.66 kB / 407.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.2831, allocations: 310.6 kB / 407.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.2831, allocations: 29.38 kB / 408 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.2832, allocations: 36.38 kB / 408 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2842, allocations: 0.5046 MB / 408.5 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2842, allocations: 4 kB / 408.5 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.2843, allocations: 16 kB / 408.5 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2843, allocations: 11.94 kB / 408.5 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.2856, allocations: 0.5075 MB / 409 MB, free: 15.86 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.002504/0.2881, allocations: 1.652 MB / 410.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.2892, allocations: 423.7 kB / 411.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.2897, allocations: 250.6 kB / 411.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.2898, allocations: 8.328 kB / 411.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2898, allocations: 38.89 kB / 411.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/0.2898, allocations: 0 / 411.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004747/0.2946, allocations: 1.365 MB / 412.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.2947, allocations: 162.2 kB / 412.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.295, allocations: 267 kB / 413.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.2951, allocations: 33.7 kB / 413.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.2952, allocations: 216.7 kB / 413.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.2953, allocations: 146.8 kB / 413.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.2955, allocations: 86.02 kB / 413.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2956, allocations: 334.8 kB / 414 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.2961, allocations: 188.7 kB / 414.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.2967, allocations: 282.5 kB / 414.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/0.2976, allocations: 422.5 kB / 414.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2976, allocations: 0 / 414.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001755/0.2994, allocations: 0.6782 MB / 415.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.2994, allocations: 8 kB / 415.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2994, allocations: 0 / 415.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.3007, allocations: 321.4 kB / 415.9 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.301, allocations: 83.86 kB / 415.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.3023, allocations: 1.354 MB / 417.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.3027, allocations: 75.86 kB / 417.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.3028, allocations: 16 kB / 417.4 MB, free: 7.098 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.0002006/0.303, allocations: 157.8 kB / 417.5 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.303, allocations: 35.77 kB / 417.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.3051, allocations: 0.7316 MB / 418.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3052, allocations: 4 kB / 418.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3052, allocations: 0 / 418.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3052, allocations: 0 / 418.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.3058, allocations: 484.9 kB / 418.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3058, allocations: 0 / 418.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.3061, allocations: 55.89 kB / 418.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.3073, allocations: 325.4 kB / 419.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.3073, allocations: 4 kB / 419.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.3085, allocations: 1.362 MB / 420.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3085, allocations: 8.031 kB / 420.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.3109, allocations: 1.02 MB / 421.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.3111, allocations: 120.9 kB / 421.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.3111, allocations: 8 kB / 421.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3115, allocations: 39.95 kB / 421.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.3116, allocations: 23.95 kB / 421.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.3116, allocations: 15.94 kB / 421.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.3119, allocations: 194 kB / 421.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3119, allocations: 4 kB / 421.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004101/0.3123, allocations: 115.7 kB / 422.1 MB, free: 2.25 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.002818/0.3151, allocations: 1.565 MB / 423.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.3165, allocations: 479.5 kB / 424.1 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3165, allocations: 0 / 424.1 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.3171, allocations: 255.8 kB / 424.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.3175, allocations: 47.52 kB / 424.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007291/0.3248, allocations: 4.083 MB / 428.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.3252, allocations: 0.7995 MB / 429.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.3254, allocations: 22.98 kB / 429.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3256, allocations: 127.3 kB / 429.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3256, allocations: 0 / 429.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3548, allocations: 9.364 MB / 438.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.31, allocations: 3.891 kB / 438.8 MB, free: 1.48 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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