Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 47.92 kB / 371.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2597, allocations: 52.19 MB / 423.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004519/0.2642, allocations: 3.162 MB / 426.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2658, allocations: 0.7922 MB / 427.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.266, allocations: 8 kB / 427.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.2662, allocations: 63.31 kB / 427.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.2664, allocations: 118.9 kB / 427.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.2668, allocations: 159.7 kB / 427.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.2674, allocations: 0.5423 MB / 428.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.2676, allocations: 124.8 kB / 428.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.2679, allocations: 219.3 kB / 428.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.2682, allocations: 263 kB / 428.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.2683, allocations: 48 kB / 428.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2684, allocations: 56 kB / 429 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2685, allocations: 119.6 kB / 429.1 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.2687, allocations: 234.9 kB / 429.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.2693, allocations: 0.5495 MB / 429.9 MB, free: 8.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2693, allocations: 4 kB / 429.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2693, allocations: 0 / 429.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2693, allocations: 0 / 429.9 MB, free: 8.109 MB / 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.001554/0.2709, allocations: 0.7352 MB / 430.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2709, allocations: 19.91 kB / 430.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.445e-05/0.2709, allocations: 9.188 kB / 430.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.147e-05/0.271, allocations: 74.72 kB / 430.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.2711, allocations: 48.66 kB / 430.7 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.2716, allocations: 260.8 kB / 431 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.2716, allocations: 25.38 kB / 431 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.2717, allocations: 36.38 kB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.2727, allocations: 0.5082 MB / 431.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2728, allocations: 0 / 431.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.2728, allocations: 16 kB / 431.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2728, allocations: 8 kB / 431.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.2742, allocations: 0.4996 MB / 432.1 MB, free: 5.789 MB / 334.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.002582/0.2768, allocations: 1.625 MB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.2779, allocations: 403.7 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.2784, allocations: 225.4 kB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.2785, allocations: 8.328 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2785, allocations: 34.89 kB / 434.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.452e-06/0.2785, allocations: 0 / 434.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004822/0.2833, allocations: 1.218 MB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2834, allocations: 162.2 kB / 435.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.2837, allocations: 268.2 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.2838, allocations: 37.7 kB / 436 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.2839, allocations: 204.7 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.284, allocations: 154.7 kB / 436.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2842, allocations: 82.08 kB / 436.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2844, allocations: 342.8 kB / 436.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.2849, allocations: 180.8 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.2855, allocations: 278.5 kB / 437.3 MB, free: 348 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.2865, allocations: 434.5 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2865, allocations: 4 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001867/0.2884, allocations: 0.6743 MB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2884, allocations: 4 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.2884, allocations: 4 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.2897, allocations: 321.4 kB / 438.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.29, allocations: 79.88 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2914, allocations: 1.358 MB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.2918, allocations: 75.84 kB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.2919, allocations: 16 kB / 440.2 MB, free: 13.29 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.0001963/0.2921, allocations: 153.8 kB / 440.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.2921, allocations: 39.77 kB / 440.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.2943, allocations: 0.7123 MB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.2943, allocations: 8 kB / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2943, allocations: 0 / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2943, allocations: 3.984 kB / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.2949, allocations: 443.8 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2949, allocations: 0 / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.2952, allocations: 55.95 kB / 441.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.2964, allocations: 325.3 kB / 441.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.2964, allocations: 11.98 kB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.2978, allocations: 1.355 MB / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2978, allocations: 0 / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.3005, allocations: 1.019 MB / 444.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.3005, allocations: 31.73 kB / 444.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.3006, allocations: 12.06 kB / 444.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3009, allocations: 43.95 kB / 444.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.301, allocations: 27.94 kB / 444.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.301, allocations: 8 kB / 444.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.3013, allocations: 203 kB / 444.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3013, allocations: 0 / 444.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004104/0.3017, allocations: 111.8 kB / 444.7 MB, free: 8.609 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.002935/0.3046, allocations: 1.554 MB / 446.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3059, allocations: 455.5 kB / 446.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3059, allocations: 7.938 kB / 446.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.3065, allocations: 247.7 kB / 447 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3069, allocations: 48.95 kB / 447 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/0.3146, allocations: 4.062 MB / 451.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.3151, allocations: 0.7956 MB / 451.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.3152, allocations: 34.91 kB / 451.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3154, allocations: 127.4 kB / 452.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3154, allocations: 0 / 452.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.35, allocations: 9.842 MB / 461.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.04, allocations: 10.92 kB / 461.9 MB, free: 7.422 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.560938038979657]