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.001526/0.001526, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00172/0.00172, allocations: 199.3 kB / 20.74 MB, free: 2.32 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 / 254.1 MB, free: 15.09 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.001549/0.001549, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09902, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005006/0.104, allocations: 3.183 MB / 429.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1059, allocations: 0.8507 MB / 430.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.1062, allocations: 8 kB / 430.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.1064, allocations: 63.3 kB / 430.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.1067, allocations: 122.8 kB / 430.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.1072, allocations: 155.7 kB / 430.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1893/0.2965, allocations: 0.5428 MB / 431.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.2968, allocations: 122.5 kB / 431.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.2973, allocations: 232.4 kB / 431.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.2976, allocations: 258.1 kB / 431.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.2977, allocations: 51.16 kB / 431.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.2978, allocations: 58.5 kB / 431.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.2979, allocations: 113 kB / 432.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.2981, allocations: 242.1 kB / 432.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.2987, allocations: 0.5596 MB / 432.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2987, allocations: 4.688 kB / 432.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2987, allocations: 0.7188 kB / 432.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2987, allocations: 0 / 432.9 MB, free: 7.535 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.001477/0.3002, allocations: 0.8045 MB / 433.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3002, allocations: 13.38 kB / 433.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.3003, allocations: 73.77 kB / 433.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.3005, allocations: 61.44 kB / 433.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.3009, allocations: 323.2 kB / 434.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.301, allocations: 28.31 kB / 434.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.301, allocations: 37.69 kB / 434.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.3021, allocations: 0.5055 MB / 434.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3021, allocations: 4.125 kB / 434.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.3021, allocations: 15.88 kB / 434.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.3021, allocations: 9.719 kB / 434.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.3035, allocations: 0.499 MB / 435.2 MB, free: 6.629 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.002529/0.3061, allocations: 1.663 MB / 436.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.3072, allocations: 395.3 kB / 437.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.3077, allocations: 224 kB / 437.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.3078, allocations: 8.859 kB / 437.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3078, allocations: 42.64 kB / 437.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.3078, allocations: 0 / 437.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005068/0.3128, allocations: 1.353 MB / 438.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.3129, allocations: 161.1 kB / 439.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.3133, allocations: 283.5 kB / 439.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.3133, allocations: 33.64 kB / 439.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3135, allocations: 212.2 kB / 439.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.3136, allocations: 143.6 kB / 439.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3137, allocations: 73.7 kB / 439.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.3138, allocations: 341 kB / 440.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.3143, allocations: 188 kB / 440.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.3148, allocations: 281.7 kB / 440.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000987/0.3158, allocations: 425 kB / 441 MB, free: 3.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3158, allocations: 0 / 441 MB, free: 3.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002184/0.318, allocations: 0.6817 MB / 441.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.318, allocations: 5.562 kB / 441.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.318, allocations: 2.891 kB / 441.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.3195, allocations: 325.3 kB / 442 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.32, allocations: 79.64 kB / 442.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.3212, allocations: 1.345 MB / 443.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.3217, allocations: 76.69 kB / 443.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.3218, allocations: 16.72 kB / 443.5 MB, free: 2.281 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.0002001/0.322, allocations: 159.9 kB / 443.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.3221, allocations: 40.95 kB / 443.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.3243, allocations: 0.7216 MB / 444.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.3243, allocations: 3.906 kB / 444.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.3243, allocations: 0.7031 kB / 444.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3243, allocations: 2.75 kB / 444.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.325, allocations: 469.8 kB / 444.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.325, allocations: 1.797 kB / 444.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.3254, allocations: 62.16 kB / 445 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.3266, allocations: 320.5 kB / 445.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.3267, allocations: 15.03 kB / 445.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.3277, allocations: 1.359 MB / 446.6 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3277, allocations: 0 / 446.6 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.3304, allocations: 1.015 MB / 447.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3306, allocations: 117 kB / 447.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/0.3306, allocations: 10.88 kB / 447.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.331, allocations: 41.97 kB / 447.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.3311, allocations: 27.2 kB / 447.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.3311, allocations: 17.23 kB / 447.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000291/0.3314, allocations: 196 kB / 448.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3314, allocations: 0 / 448.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004679/0.3319, allocations: 110.2 kB / 448.2 MB, free: 15.59 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.003109/0.335, allocations: 1.567 MB / 449.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.3363, allocations: 459.1 kB / 450.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3363, allocations: 0 / 450.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.337, allocations: 238.6 kB / 450.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.3374, allocations: 50.44 kB / 450.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008035/0.3455, allocations: 4.07 MB / 454.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.3459, allocations: 0.7966 MB / 455.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.346, allocations: 30.66 kB / 455.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3462, allocations: 122 kB / 455.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3462, allocations: 0 / 455.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.3833, allocations: 9.459 MB / 464.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.4, allocations: 8.266 kB / 464.9 MB, free: 7.113 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 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.mat","/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.867200095904991]