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.001477/0.001477, allocations: 120.4 kB / 17.79 MB, free: 5.355 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.001592/0.001592, allocations: 210.6 kB / 20.75 MB, free: 2.398 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.438/1.438, allocations: 230.4 MB / 254 MB, free: 15.07 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.001784/0.001784, allocations: 59.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1016, allocations: 53.37 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004379/0.1059, allocations: 3.182 MB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1073, allocations: 0.8508 MB / 430.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1075, allocations: 4 kB / 430.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1077, allocations: 59.31 kB / 430.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1079, allocations: 114.9 kB / 430.6 MB, free: 424 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.1082, allocations: 163.6 kB / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2064/0.3146, allocations: 0.5408 MB / 431.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.315, allocations: 123.9 kB / 431.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004669/0.3154, allocations: 234.6 kB / 431.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.3157, allocations: 254 kB / 431.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.3158, allocations: 51.56 kB / 431.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3159, allocations: 61.06 kB / 432 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.316, allocations: 108.9 kB / 432.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.3162, allocations: 247.4 kB / 432.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.3167, allocations: 0.559 MB / 432.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3167, allocations: 0.7812 kB / 432.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3167, allocations: 1.688 kB / 432.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3167, allocations: 1.688 kB / 432.9 MB, free: 7.527 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.001444/0.3182, allocations: 0.8081 MB / 433.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3182, allocations: 9.875 kB / 433.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.701e-05/0.3183, allocations: 74.03 kB / 433.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.3185, allocations: 63.75 kB / 433.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.3188, allocations: 319.2 kB / 434.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.3189, allocations: 26.72 kB / 434.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.3189, allocations: 41.11 kB / 434.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.3199, allocations: 0.5016 MB / 434.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3199, allocations: 4.734 kB / 434.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.32, allocations: 17.25 kB / 434.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.32, allocations: 11.69 kB / 434.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.3213, allocations: 0.5018 MB / 435.3 MB, free: 6.621 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.002425/0.3238, allocations: 1.663 MB / 436.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.3249, allocations: 401.7 kB / 437.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.3254, allocations: 225.7 kB / 437.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.3255, allocations: 10.41 kB / 437.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3255, allocations: 37.78 kB / 437.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.3255, allocations: 2.078 kB / 437.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004986/0.3305, allocations: 1.353 MB / 438.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.3305, allocations: 167.2 kB / 439.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.3308, allocations: 274.6 kB / 439.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.3309, allocations: 36.73 kB / 439.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.331, allocations: 212.1 kB / 439.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.3311, allocations: 144 kB / 439.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3312, allocations: 75.25 kB / 439.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.3313, allocations: 339.6 kB / 440.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.3318, allocations: 188.1 kB / 440.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.3323, allocations: 280.3 kB / 440.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.3333, allocations: 423.3 kB / 441 MB, free: 3.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.3333, allocations: 0 / 441 MB, free: 3.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001903/0.3352, allocations: 0.6817 MB / 441.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3352, allocations: 6.656 kB / 441.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3352, allocations: 1.781 kB / 441.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.3365, allocations: 322.7 kB / 442 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.3369, allocations: 82.03 kB / 442.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.3379, allocations: 1.346 MB / 443.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.3384, allocations: 77.38 kB / 443.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3384, allocations: 16.02 kB / 443.5 MB, free: 2.207 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.00015/0.3385, allocations: 162 kB / 443.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.3386, allocations: 36.7 kB / 443.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.3407, allocations: 0.7233 MB / 444.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3407, allocations: 9.828 kB / 444.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3407, allocations: 0 / 444.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.3407, allocations: 2.578 kB / 444.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.3413, allocations: 473.6 kB / 444.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3413, allocations: 0 / 444.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.3416, allocations: 59.27 kB / 445 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.3427, allocations: 319.6 kB / 445.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.3428, allocations: 11.91 kB / 445.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009335/0.3437, allocations: 1.356 MB / 446.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3437, allocations: 5.281 kB / 446.7 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.3463, allocations: 1.026 MB / 447.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-05/0.3464, allocations: 116.3 kB / 447.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.3465, allocations: 7.078 kB / 447.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.3469, allocations: 49.06 kB / 447.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.3469, allocations: 27.64 kB / 447.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.347, allocations: 8.656 kB / 447.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.3472, allocations: 196.8 kB / 448.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3472, allocations: 0 / 448.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.3476, allocations: 114.4 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.00307/0.3507, allocations: 1.558 MB / 449.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.352, allocations: 466 kB / 450.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.352, allocations: 448 / 450.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.3527, allocations: 242.4 kB / 450.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.3531, allocations: 45.02 kB / 450.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/0.3608, allocations: 4.074 MB / 454.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.3613, allocations: 0.796 MB / 455.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.3614, allocations: 33.17 kB / 455.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.3616, allocations: 122.7 kB / 455.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3616, allocations: 0 / 455.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0618/0.4234, allocations: 9.459 MB / 465 MB, free: 7.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.21, allocations: 13.78 kB / 465 MB, free: 7.043 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.738675505039282]