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.001671/0.001671, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001959/0.001959, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.422/1.422, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001435/0.001435, allocations: 43.94 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1041, allocations: 53.32 MB / 426.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004569/0.1086, allocations: 3.183 MB / 429.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1102, allocations: 0.8508 MB / 430.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.1104, allocations: 4 kB / 430.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1106, allocations: 63.36 kB / 430.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1108, allocations: 114.9 kB / 430.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.1113, allocations: 167.6 kB / 430.7 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1901/0.3013, allocations: 0.5405 MB / 431.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.3017, allocations: 124.8 kB / 431.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006227/0.3024, allocations: 231.8 kB / 431.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.3027, allocations: 258.8 kB / 431.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3028, allocations: 51.31 kB / 431.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.303, allocations: 55.81 kB / 431.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.303, allocations: 113.5 kB / 432.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3033, allocations: 238.8 kB / 432.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006749/0.3039, allocations: 0.5651 MB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3039, allocations: 0 / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3039, allocations: 4.469 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3039, allocations: 1.281 kB / 432.9 MB, free: 7.512 MB / 350.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.00146/0.3054, allocations: 0.8064 MB / 433.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3055, allocations: 9.844 kB / 433.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.3056, allocations: 75.72 kB / 433.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.3058, allocations: 61.34 kB / 433.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.3062, allocations: 320 kB / 434.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3063, allocations: 30.03 kB / 434.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.3063, allocations: 34.53 kB / 434.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3074, allocations: 0.5058 MB / 434.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3074, allocations: 5.031 kB / 434.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.3075, allocations: 14.22 kB / 434.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.3075, allocations: 10.25 kB / 434.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.309, allocations: 0.4999 MB / 435.2 MB, free: 6.605 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.002808/0.3118, allocations: 1.658 MB / 436.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.313, allocations: 403.8 kB / 437.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.3135, allocations: 219.5 kB / 437.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.3136, allocations: 14.38 kB / 437.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3136, allocations: 39.72 kB / 437.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.3136, allocations: 0 / 437.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005141/0.3188, allocations: 1.355 MB / 438.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.3188, allocations: 163.9 kB / 439.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.3192, allocations: 274 kB / 439.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3192, allocations: 32.5 kB / 439.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3193, allocations: 216.4 kB / 439.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.593e-05/0.3194, allocations: 148.1 kB / 439.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3195, allocations: 70.42 kB / 439.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.3196, allocations: 344.9 kB / 440.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.3201, allocations: 180.3 kB / 440.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.3207, allocations: 281.5 kB / 440.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.3217, allocations: 429.2 kB / 441 MB, free: 3.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3217, allocations: 2.531 kB / 441 MB, free: 3.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001948/0.3236, allocations: 0.6803 MB / 441.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3236, allocations: 8.984 kB / 441.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3237, allocations: 3.062 kB / 441.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.325, allocations: 318.7 kB / 442 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.3253, allocations: 79.91 kB / 442.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.3263, allocations: 1.349 MB / 443.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.3268, allocations: 82.22 kB / 443.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.3268, allocations: 18.61 kB / 443.5 MB, free: 2.234 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.0001756/0.327, allocations: 153.3 kB / 443.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.3271, allocations: 37.81 kB / 443.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.3292, allocations: 0.7278 MB / 444.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3292, allocations: 4.797 kB / 444.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3292, allocations: 1.469 kB / 444.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3292, allocations: 2.062 kB / 444.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.3298, allocations: 472.2 kB / 444.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3298, allocations: 0 / 444.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.33, allocations: 57.12 kB / 445 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.3312, allocations: 323.1 kB / 445.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.3312, allocations: 7.172 kB / 445.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000949/0.3322, allocations: 1.357 MB / 446.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3322, allocations: 1.344 kB / 446.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.3348, allocations: 1.031 MB / 447.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3349, allocations: 116.1 kB / 447.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.3349, allocations: 7.609 kB / 447.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.3353, allocations: 44.44 kB / 447.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/0.3354, allocations: 28.69 kB / 447.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.3354, allocations: 8.312 kB / 447.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.3357, allocations: 201.3 kB / 448.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3357, allocations: 0 / 448.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.3361, allocations: 109.2 kB / 448.2 MB, free: 15.57 MB / 366.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.003165/0.3393, allocations: 1.56 MB / 449.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.3407, allocations: 462.9 kB / 450.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3407, allocations: 0 / 450.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.3413, allocations: 241.1 kB / 450.4 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.0004162/0.3417, allocations: 52.52 kB / 450.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/0.3494, allocations: 4.068 MB / 454.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.3498, allocations: 0.7981 MB / 455.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.35, allocations: 30.78 kB / 455.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.3502, allocations: 122.9 kB / 455.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3502, allocations: 1.281 kB / 455.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.3864, allocations: 9.45 MB / 464.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.34, allocations: 9.688 kB / 464.9 MB, free: 7.074 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.958289504007553]