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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001878/0.001878, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002281/0.002281, allocations: 213.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.91 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2611, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004699/0.2658, allocations: 3.187 MB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2674, allocations: 0.8584 MB / 435.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.2675, allocations: 11.94 kB / 435.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.2677, allocations: 63.36 kB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.2679, allocations: 110.9 kB / 435.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2683, allocations: 159.7 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.2689, allocations: 0.5462 MB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.2692, allocations: 128.8 kB / 436.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.2695, allocations: 231.3 kB / 436.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.2698, allocations: 263 kB / 436.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.06e-05/0.2699, allocations: 52 kB / 436.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.27, allocations: 56 kB / 436.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.2701, allocations: 115.6 kB / 437 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.2703, allocations: 234.9 kB / 437.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006119/0.2709, allocations: 0.5646 MB / 437.7 MB, free: 112 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2709, allocations: 3.938 kB / 437.8 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2709, allocations: 0 / 437.8 MB, free: 108 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2709, allocations: 0 / 437.8 MB, free: 108 kB / 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.0016/0.2725, allocations: 0.7354 MB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2726, allocations: 8.031 kB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.2727, allocations: 86.64 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.2729, allocations: 56.61 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.2733, allocations: 265.2 kB / 438.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.2734, allocations: 29.38 kB / 438.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.2734, allocations: 32.38 kB / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2745, allocations: 0.5046 MB / 439.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2745, allocations: 0 / 439.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.2745, allocations: 16 kB / 439.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.2745, allocations: 11.98 kB / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.2758, allocations: 0.4996 MB / 440 MB, free: 13.78 MB / 350.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.002527/0.2784, allocations: 1.621 MB / 441.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2794, allocations: 402.7 kB / 442 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.2799, allocations: 224.4 kB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.2799, allocations: 8.312 kB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.28, allocations: 42.88 kB / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.28, allocations: 0 / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00467/0.2846, allocations: 1.21 MB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.974e-05/0.2847, allocations: 162.2 kB / 443.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.2851, allocations: 276.2 kB / 443.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.2851, allocations: 29.7 kB / 443.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.2853, allocations: 212.7 kB / 444.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.2854, allocations: 142.8 kB / 444.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.2856, allocations: 78.14 kB / 444.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2857, allocations: 346.8 kB / 444.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.2862, allocations: 180.7 kB / 444.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.2868, allocations: 282.5 kB / 445.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.2878, allocations: 426.5 kB / 445.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2878, allocations: 0 / 445.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001838/0.2896, allocations: 0.6782 MB / 446.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.2896, allocations: 8 kB / 446.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2896, allocations: 3.984 kB / 446.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.291, allocations: 321.4 kB / 446.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.2914, allocations: 79.88 kB / 446.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.2928, allocations: 1.347 MB / 448 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.2932, allocations: 87.67 kB / 448.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.2932, allocations: 19.92 kB / 448.1 MB, free: 5.293 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.0002061/0.2934, allocations: 153.8 kB / 448.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.2935, allocations: 39.77 kB / 448.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.2957, allocations: 0.7162 MB / 449 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2957, allocations: 4 kB / 449 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.2957, allocations: 3.984 kB / 449 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2957, allocations: 0 / 449 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.2963, allocations: 444.2 kB / 449.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2963, allocations: 0 / 449.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.2966, allocations: 59.94 kB / 449.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.2978, allocations: 321.4 kB / 449.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.2978, allocations: 12 kB / 449.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.2991, allocations: 1.359 MB / 451.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2991, allocations: 0 / 451.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.3016, allocations: 1.019 MB / 452.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.3017, allocations: 39.73 kB / 452.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.3017, allocations: 8 kB / 452.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.3021, allocations: 47.94 kB / 452.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.3022, allocations: 27.73 kB / 452.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.3022, allocations: 11.98 kB / 452.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.3024, allocations: 195.1 kB / 452.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3024, allocations: 4 kB / 452.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.3028, allocations: 112 kB / 452.6 MB, free: 0.5977 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.00284/0.3057, allocations: 1.568 MB / 454.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.3069, allocations: 463.7 kB / 454.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3069, allocations: 0 / 454.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.3075, allocations: 231.8 kB / 454.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3079, allocations: 55.08 kB / 454.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007193/0.3151, allocations: 4.069 MB / 459 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.3156, allocations: 0.7995 MB / 459.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.3157, allocations: 22.98 kB / 459.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3159, allocations: 131.4 kB / 460 MB, free: 9.09 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3159, allocations: 0 / 460 MB, free: 9.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.3567, allocations: 9.837 MB / 469.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.21, allocations: 7.984 kB / 469.8 MB, free: 15.38 MB / 382.1 MB " [Timeout remaining time 647] (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.000989903 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.807394717001443]