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.001551/0.001551, allocations: 107.8 kB / 17.64 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 218.5 kB / 18.59 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 67.77 kB / 307.1 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1449, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.007258/0.1522, allocations: 3.159 MB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.1549, allocations: 0.8468 MB / 361.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.1553, allocations: 7.938 kB / 361.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.1557, allocations: 59.38 kB / 361.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.1562, allocations: 118.9 kB / 361.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.1569, allocations: 151.7 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009742/0.1579, allocations: 0.5464 MB / 362.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004853/0.1584, allocations: 176.3 kB / 362.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.159, allocations: 223.2 kB / 362.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.1596, allocations: 255 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.1598, allocations: 52 kB / 363.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.16, allocations: 63.98 kB / 363.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1602, allocations: 119.6 kB / 363.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.1606, allocations: 230.9 kB / 363.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.1616, allocations: 0.5531 MB / 364.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1616, allocations: 0 / 364.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1616, allocations: 0 / 364.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.1616, allocations: 3.984 kB / 364.1 MB, free: 7.418 MB / 302.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.002789/0.1644, allocations: 0.807 MB / 364.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.1645, allocations: 8.031 kB / 364.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.1647, allocations: 74.72 kB / 365 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.165, allocations: 60.36 kB / 365.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.1657, allocations: 311.3 kB / 365.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.1658, allocations: 33.38 kB / 365.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.1659, allocations: 36.38 kB / 365.4 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.168, allocations: 0.4968 MB / 365.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.1681, allocations: 0 / 365.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.1682, allocations: 19.98 kB / 366 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1682, allocations: 12 kB / 366 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.1708, allocations: 0.4996 MB / 366.5 MB, free: 4.949 MB / 302.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.004831/0.1757, allocations: 1.663 MB / 368.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.1775, allocations: 442.6 kB / 368.6 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000947/0.1785, allocations: 244.4 kB / 368.8 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/0.1786, allocations: 12.31 kB / 368.8 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.1786, allocations: 34.89 kB / 368.8 MB, free: 2.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.487e-06/0.1786, allocations: 0 / 368.8 MB, free: 2.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.008045/0.1867, allocations: 1.368 MB / 370.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.1868, allocations: 158.2 kB / 370.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.1874, allocations: 275 kB / 370.6 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.1875, allocations: 33.7 kB / 370.7 MB, free: 500 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.1877, allocations: 208.3 kB / 370.9 MB, free: 288 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.1879, allocations: 138 kB / 371 MB, free: 148 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.1881, allocations: 70.14 kB / 371.1 MB, free: 72 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1887/0.3768, allocations: 346.8 kB / 371.4 MB, free: 20.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/0.3776, allocations: 177.5 kB / 371.6 MB, free: 20.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.3783, allocations: 281.5 kB / 371.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3794, allocations: 431.7 kB / 372.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3794, allocations: 0.6562 kB / 372.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002082/0.3815, allocations: 0.6762 MB / 373 MB, free: 19.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3815, allocations: 5.469 kB / 373 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3815, allocations: 3.406 kB / 373 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.3829, allocations: 321.8 kB / 373.3 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.3833, allocations: 85.22 kB / 373.4 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.3844, allocations: 1.343 MB / 374.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.3849, allocations: 75.81 kB / 374.8 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.385, allocations: 18.06 kB / 374.8 MB, free: 18.85 MB / 302.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.00019/0.3852, allocations: 162 kB / 375 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.3853, allocations: 41.03 kB / 375 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.3875, allocations: 0.7319 MB / 375.7 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3875, allocations: 4.125 kB / 375.7 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3875, allocations: 0.6094 kB / 375.7 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.3875, allocations: 3.344 kB / 375.7 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.3881, allocations: 456.5 kB / 376.2 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3882, allocations: 3.656 kB / 376.2 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.3885, allocations: 68.95 kB / 376.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.3897, allocations: 320.9 kB / 376.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.3897, allocations: 15.75 kB / 376.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009886/0.3907, allocations: 1.353 MB / 377.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3907, allocations: 4.125 kB / 377.9 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.3932, allocations: 1.012 MB / 379 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.3933, allocations: 118.4 kB / 379.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.3934, allocations: 10.75 kB / 379.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.3938, allocations: 45.72 kB / 379.1 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.3939, allocations: 22.78 kB / 379.1 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.3939, allocations: 13.47 kB / 379.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002563/0.3942, allocations: 192.1 kB / 379.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3942, allocations: 1.469 kB / 379.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.3947, allocations: 110.2 kB / 379.5 MB, free: 16.19 MB / 302.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.003038/0.3977, allocations: 1.58 MB / 381 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.3993, allocations: 482.8 kB / 381.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.3994, allocations: 1.875 kB / 381.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007323/0.4001, allocations: 257 kB / 381.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.4007, allocations: 57.86 kB / 381.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/0.4085, allocations: 4.09 MB / 385.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.4088, allocations: 0.8033 MB / 386.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.409, allocations: 26.97 kB / 386.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4091, allocations: 123.5 kB / 386.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4092, allocations: 1.312 kB / 386.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.4394, allocations: 9.226 MB / 396.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.74, allocations: 2.016 kB / 396.1 MB, free: 8.02 MB / 302.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.0.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