Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 51.92 kB / 377.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2628, allocations: 53.36 MB / 431.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004378/0.2672, allocations: 3.187 MB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2686, allocations: 0.8623 MB / 435.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.2688, allocations: 7.938 kB / 435.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.2689, allocations: 67.3 kB / 435.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.2691, allocations: 118.9 kB / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.2695, allocations: 151.7 kB / 435.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005699/0.2701, allocations: 0.554 MB / 436.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.2703, allocations: 124.8 kB / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.2707, allocations: 235.2 kB / 436.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.2711, allocations: 247 kB / 436.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.2711, allocations: 55.98 kB / 436.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2713, allocations: 60 kB / 436.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2714, allocations: 111.7 kB / 436.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.2716, allocations: 250.8 kB / 437.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007149/0.2723, allocations: 0.5568 MB / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2723, allocations: 0 / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2723, allocations: 4 kB / 437.7 MB, free: 232 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2724, allocations: 0 / 437.7 MB, free: 232 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.001638/0.274, allocations: 0.7274 MB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.274, allocations: 12.03 kB / 438.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.651e-05/0.2741, allocations: 78.7 kB / 438.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.2743, allocations: 56.61 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.2748, allocations: 261.2 kB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.2749, allocations: 29.38 kB / 438.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.2749, allocations: 40.31 kB / 438.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.276, allocations: 0.5046 MB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.276, allocations: 8 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.2761, allocations: 16 kB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2761, allocations: 8 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.2774, allocations: 0.4957 MB / 439.9 MB, free: 13.92 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.002792/0.2802, allocations: 1.62 MB / 441.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2813, allocations: 407.8 kB / 441.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.2818, allocations: 223.4 kB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.2819, allocations: 8.312 kB / 442.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.2819, allocations: 46.88 kB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.2819, allocations: 0 / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004885/0.2868, allocations: 1.207 MB / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.2869, allocations: 158.2 kB / 443.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.2873, allocations: 276.2 kB / 443.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.2873, allocations: 37.7 kB / 443.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.2875, allocations: 216.6 kB / 444.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2876, allocations: 142.8 kB / 444.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.2878, allocations: 70.14 kB / 444.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2879, allocations: 342.8 kB / 444.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.2884, allocations: 188.7 kB / 444.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.289, allocations: 278.5 kB / 445.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.29, allocations: 430.5 kB / 445.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.29, allocations: 0 / 445.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001847/0.2919, allocations: 0.682 MB / 446.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2919, allocations: 4 kB / 446.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2919, allocations: 4 kB / 446.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.2933, allocations: 313.4 kB / 446.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.2936, allocations: 87.81 kB / 446.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.295, allocations: 1.347 MB / 447.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.2955, allocations: 83.59 kB / 448 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.2955, allocations: 16 kB / 448 MB, free: 5.426 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.0002195/0.2958, allocations: 157.8 kB / 448.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.2958, allocations: 39.77 kB / 448.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.2981, allocations: 0.7123 MB / 448.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2982, allocations: 4 kB / 449 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2982, allocations: 192 / 449 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.2982, allocations: 0 / 449 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.2988, allocations: 448.1 kB / 449.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2988, allocations: 0 / 449.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.2991, allocations: 67.88 kB / 449.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.3003, allocations: 321.3 kB / 449.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.3003, allocations: 12 kB / 449.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.3019, allocations: 1.358 MB / 451.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3019, allocations: 0 / 451.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.3046, allocations: 1.016 MB / 452.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.3046, allocations: 39.67 kB / 452.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.3047, allocations: 11.98 kB / 452.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.305, allocations: 39.95 kB / 452.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.3051, allocations: 31.8 kB / 452.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.3052, allocations: 15.98 kB / 452.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.3054, allocations: 191.1 kB / 452.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3054, allocations: 0 / 452.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.3058, allocations: 115.8 kB / 452.6 MB, free: 0.7266 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.003078/0.3089, allocations: 1.568 MB / 454.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.3102, allocations: 459.4 kB / 454.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3102, allocations: 0 / 454.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.3108, allocations: 236.2 kB / 454.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.3113, allocations: 47.39 kB / 454.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007829/0.3191, allocations: 4.085 MB / 459 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3195, allocations: 0.7994 MB / 459.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.3197, allocations: 34.97 kB / 459.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3198, allocations: 127.4 kB / 459.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3198, allocations: 0 / 459.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/0.3616, allocations: 9.832 MB / 469.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.24, allocations: 4.062 kB / 469.8 MB, free: 15.52 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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.000989903 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.851918632997695]