Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009332/0.0009332, allocations: 194 kB / 17.38 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 226.5 MB / 244.7 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007446/0.0007444, allocations: 107.9 kB / 296.7 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002053/0.0002053, allocations: 8 kB / 356.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1897, allocations: 51.29 MB / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002256/0.192, allocations: 2.673 MB / 410.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.193, allocations: 0.8069 MB / 411.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1931, allocations: 8 kB / 411.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.1933, allocations: 45.19 kB / 411.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1935, allocations: 100.4 kB / 411.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1937, allocations: 109.5 kB / 411.9 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.1941, allocations: 495.5 kB / 412.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.1943, allocations: 150.2 kB / 412.5 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.1945, allocations: 183.4 kB / 412.7 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1947, allocations: 223.1 kB / 412.9 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.1948, allocations: 24 kB / 412.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.1949, allocations: 36 kB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.1949, allocations: 83.66 kB / 413 MB, free: 22.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1951, allocations: 228.7 kB / 413.3 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.1953, allocations: 420 kB / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1953, allocations: 0 / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1953, allocations: 0 / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1954, allocations: 0 / 413.7 MB, free: 22.01 MB / 298.7 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.001226/0.1966, allocations: 0.7526 MB / 414.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1966, allocations: 11.97 kB / 414.4 MB, free: 21.19 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/0.1967, allocations: 78.7 kB / 414.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.1969, allocations: 56.38 kB / 414.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1972, allocations: 314.4 kB / 414.9 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1972, allocations: 25.38 kB / 414.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.1972, allocations: 36.38 kB / 414.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.1982, allocations: 0.5397 MB / 415.5 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1982, allocations: 0 / 415.5 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.1983, allocations: 16 kB / 415.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1983, allocations: 12 kB / 415.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1995, allocations: 0.5621 MB / 416.1 MB, free: 19.49 MB / 298.7 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.002053/0.2015, allocations: 1.69 MB / 417.8 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009851/0.2025, allocations: 472.5 kB / 418.2 MB, free: 17.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.203, allocations: 264.8 kB / 418.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.203, allocations: 4.328 kB / 418.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.2031, allocations: 38.89 kB / 418.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.2031, allocations: 0 / 418.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004482/0.2075, allocations: 1.549 MB / 420.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2076, allocations: 162.2 kB / 420.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.2079, allocations: 282.8 kB / 420.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.2079, allocations: 29.7 kB / 420.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.208, allocations: 208.4 kB / 420.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.2081, allocations: 134 kB / 420.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.2081, allocations: 12 kB / 420.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.2081, allocations: 338.8 kB / 421.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.2086, allocations: 204.7 kB / 421.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.2091, allocations: 306.5 kB / 421.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/0.21, allocations: 474.4 kB / 422.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.21, allocations: 0 / 422.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001744/0.2118, allocations: 0.7795 MB / 422.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2118, allocations: 4 kB / 423 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2118, allocations: 4 kB / 423 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.2131, allocations: 329.5 kB / 423.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.2134, allocations: 91.88 kB / 423.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009746/0.2144, allocations: 1.367 MB / 424.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.2148, allocations: 91.69 kB / 424.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.2149, allocations: 19.98 kB / 424.8 MB, free: 10.3 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.2151, allocations: 161.7 kB / 425 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.2151, allocations: 35.62 kB / 425 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.2171, allocations: 0.825 MB / 425.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2171, allocations: 4 kB / 425.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2171, allocations: 0 / 425.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2171, allocations: 3.984 kB / 425.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.2176, allocations: 457.1 kB / 426.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2176, allocations: 3.938 kB / 426.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.2179, allocations: 67.95 kB / 426.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.219, allocations: 340.1 kB / 426.7 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.219, allocations: 15.98 kB / 426.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008789/0.2199, allocations: 1.385 MB / 428.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2199, allocations: 0 / 428.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.2222, allocations: 1.129 MB / 429.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.2223, allocations: 108.6 kB / 429.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.2223, allocations: 8 kB / 429.4 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.2227, allocations: 64 kB / 429.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.2228, allocations: 23.97 kB / 429.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.2228, allocations: 8 kB / 429.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.223, allocations: 193.9 kB / 429.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.223, allocations: 0 / 429.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.2234, allocations: 115.7 kB / 429.8 MB, free: 5.219 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002497/0.2259, allocations: 1.682 MB / 431.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.2271, allocations: 0.5073 MB / 431.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2271, allocations: 0 / 431.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.2276, allocations: 284.2 kB / 432.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.228, allocations: 42.95 kB / 432.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.2328, allocations: 2.841 MB / 435.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.2332, allocations: 0.8034 MB / 435.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.2334, allocations: 123.4 kB / 436 MB, free: 14.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2334, allocations: 0 / 436 MB, free: 14.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.166/3.4, allocations: 8.116 MB / 444.1 MB, free: 6.672 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches