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.001605/0.001605, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001837/0.001837, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2534, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004688/0.2581, allocations: 3.169 MB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2597, allocations: 0.8507 MB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.2599, allocations: 8 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.2602, allocations: 55.38 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.2605, allocations: 114.9 kB / 413 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.2609, allocations: 159.7 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006666/0.2616, allocations: 0.5463 MB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.2619, allocations: 168.3 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.2623, allocations: 231.2 kB / 414.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.2626, allocations: 255 kB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.2627, allocations: 52 kB / 414.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.2628, allocations: 59.98 kB / 414.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2629, allocations: 111.7 kB / 414.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.2631, allocations: 238.9 kB / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.2639, allocations: 0.5632 MB / 415.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2639, allocations: 3.938 kB / 415.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2639, allocations: 0 / 415.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.2639, allocations: 0 / 415.3 MB, free: 10.95 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.001706/0.2656, allocations: 0.8143 MB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2657, allocations: 8.031 kB / 416.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.873e-05/0.2658, allocations: 74.72 kB / 416.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.266, allocations: 64.59 kB / 416.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.2665, allocations: 319.5 kB / 416.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.2665, allocations: 29.38 kB / 416.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.2666, allocations: 36.38 kB / 416.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2676, allocations: 0.5007 MB / 417.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.2677, allocations: 8 kB / 417.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.2677, allocations: 12 kB / 417.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2677, allocations: 8 kB / 417.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.269, allocations: 0.4957 MB / 417.7 MB, free: 8.473 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.002625/0.2717, allocations: 1.667 MB / 419.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2728, allocations: 427.6 kB / 419.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.2733, allocations: 241 kB / 420 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.2734, allocations: 8.312 kB / 420 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.2734, allocations: 42.89 kB / 420 MB, free: 5.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.2734, allocations: 0 / 420 MB, free: 5.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004905/0.2783, allocations: 1.361 MB / 421.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.2785, allocations: 158.2 kB / 421.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.2789, allocations: 286.9 kB / 421.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.279, allocations: 29.7 kB / 421.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.2791, allocations: 220.7 kB / 422.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.2793, allocations: 134.8 kB / 422.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.2795, allocations: 74.14 kB / 422.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2797, allocations: 342.8 kB / 422.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.2802, allocations: 188.7 kB / 422.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.2807, allocations: 282.5 kB / 423.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.2817, allocations: 426.5 kB / 423.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2817, allocations: 0 / 423.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00189/0.2836, allocations: 0.6859 MB / 424.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2836, allocations: 8 kB / 424.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2837, allocations: 0 / 424.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.285, allocations: 317.4 kB / 424.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.2853, allocations: 87.88 kB / 424.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.2867, allocations: 1.339 MB / 425.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.2871, allocations: 83.62 kB / 426 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.2872, allocations: 16 kB / 426 MB, free: 15.7 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.0002105/0.2874, allocations: 159.1 kB / 426.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.2875, allocations: 39.77 kB / 426.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.2896, allocations: 0.7318 MB / 427 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2897, allocations: 4 kB / 427 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2897, allocations: 0 / 427 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2897, allocations: 0 / 427 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/0.2904, allocations: 465.1 kB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.2904, allocations: 3.984 kB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2907, allocations: 59.95 kB / 427.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.2918, allocations: 329.2 kB / 427.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.2919, allocations: 8 kB / 427.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.2933, allocations: 1.358 MB / 429.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2934, allocations: 0 / 429.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.2959, allocations: 1.027 MB / 430.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.296, allocations: 112.8 kB / 430.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.296, allocations: 15.98 kB / 430.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.2964, allocations: 39.95 kB / 430.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.2965, allocations: 27.81 kB / 430.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.2965, allocations: 15.98 kB / 430.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002489/0.2968, allocations: 190 kB / 430.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2968, allocations: 0 / 430.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004301/0.2972, allocations: 115.8 kB / 430.7 MB, free: 10.86 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.003168/0.3004, allocations: 1.568 MB / 432.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.3017, allocations: 479.5 kB / 432.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.3017, allocations: 3.938 kB / 432.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.3023, allocations: 256 kB / 433 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.3027, allocations: 42.78 kB / 433 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007677/0.3104, allocations: 4.089 MB / 437.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.3108, allocations: 0.7956 MB / 437.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.311, allocations: 30.95 kB / 437.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.3112, allocations: 123.4 kB / 438.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3112, allocations: 0 / 438.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.3486, allocations: 9.392 MB / 447.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.7, allocations: 8 kB / 447.5 MB, free: 10.05 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.csv","/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