Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001431/0.001431, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002547/0.002547, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3914, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004831/0.3962, allocations: 3.124 MB / 399.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3983, allocations: 0.8291 MB / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.3985, allocations: 13.5 kB / 400.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.3987, allocations: 57.89 kB / 400.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.399, allocations: 115.7 kB / 400.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.3996, allocations: 145.2 kB / 400.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009345/0.4005, allocations: 0.5344 MB / 401.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.4009, allocations: 124.4 kB / 401.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.4015, allocations: 227.2 kB / 401.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005199/0.402, allocations: 255.8 kB / 401.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.4021, allocations: 51.47 kB / 401.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.4023, allocations: 54.28 kB / 401.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.4025, allocations: 114.3 kB / 402 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.4028, allocations: 241.3 kB / 402.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.404, allocations: 0.5468 MB / 402.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.404, allocations: 1.031 kB / 402.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.404, allocations: 0 / 402.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.404, allocations: 4 kB / 402.8 MB, free: 4.965 MB / 318.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.00177/0.4058, allocations: 0.7289 MB / 403.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.4058, allocations: 14.47 kB / 403.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.243e-05/0.4059, allocations: 71.56 kB / 403.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.762e-05/0.406, allocations: 52.59 kB / 403.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.4064, allocations: 255.6 kB / 403.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.4064, allocations: 28.84 kB / 403.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/0.4065, allocations: 36.19 kB / 403.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4077, allocations: 0.5015 MB / 404.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.4077, allocations: 7.922 kB / 404.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.4078, allocations: 20.5 kB / 404.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.4078, allocations: 8.969 kB / 404.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.4093, allocations: 0.4983 MB / 405 MB, free: 3.773 MB / 318.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.00295/0.4122, allocations: 1.617 MB / 406.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.4134, allocations: 411.9 kB / 407 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.414, allocations: 219.2 kB / 407.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.4141, allocations: 12.03 kB / 407.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4141, allocations: 33.64 kB / 407.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.634e-06/0.4141, allocations: 0 / 407.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004937/0.419, allocations: 1.214 MB / 408.5 MB, free: 2.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.4191, allocations: 162.7 kB / 408.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.4194, allocations: 263.7 kB / 408.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.4195, allocations: 31.98 kB / 408.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.4196, allocations: 218.8 kB / 409.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.4197, allocations: 143.3 kB / 409.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4198, allocations: 76.17 kB / 409.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.4199, allocations: 341.7 kB / 409.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.4204, allocations: 181.6 kB / 409.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.4209, allocations: 280.2 kB / 410.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/0.4219, allocations: 426.5 kB / 410.5 MB, free: 452 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4219, allocations: 1.125 kB / 410.5 MB, free: 452 kB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001859/0.4238, allocations: 0.6778 MB / 411.2 MB, free: 84 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.4238, allocations: 9.594 kB / 411.2 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4238, allocations: 1.25 kB / 411.2 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.4253, allocations: 319.9 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.4257, allocations: 80.41 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.4273, allocations: 1.341 MB / 413 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.4278, allocations: 81.61 kB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.4279, allocations: 18.45 kB / 413.1 MB, free: 14.64 MB / 334.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.0002863/0.4282, allocations: 152.2 kB / 413.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.4283, allocations: 33.75 kB / 413.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.4305, allocations: 0.727 MB / 414 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4305, allocations: 13.5 kB / 414 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4305, allocations: 0 / 414 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.4305, allocations: 4.031 kB / 414 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.4313, allocations: 443.3 kB / 414.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4313, allocations: 0 / 414.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.4316, allocations: 58.2 kB / 414.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.4329, allocations: 325.9 kB / 414.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.4329, allocations: 7.688 kB / 414.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.4346, allocations: 1.363 MB / 416.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4346, allocations: 3.984 kB / 416.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/0.4373, allocations: 1.007 MB / 417.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4374, allocations: 34.03 kB / 417.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.4375, allocations: 10.47 kB / 417.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.4379, allocations: 47.19 kB / 417.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.4379, allocations: 32.3 kB / 417.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.438, allocations: 7.406 kB / 417.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002917/0.4383, allocations: 200.8 kB / 417.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4383, allocations: 0 / 417.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.4388, allocations: 120.6 kB / 417.6 MB, free: 11.46 MB / 334.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.003281/0.4421, allocations: 1.555 MB / 419.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.4435, allocations: 460 kB / 419.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4435, allocations: 1.375 kB / 419.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.4441, allocations: 233.3 kB / 419.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.4446, allocations: 45.48 kB / 419.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008444/0.453, allocations: 4.05 MB / 424 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000833/0.4538, allocations: 0.7878 MB / 424.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.4541, allocations: 34.97 kB / 424.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.4544, allocations: 119.4 kB / 424.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of SimCode: time 2.915e-06/0.4544, allocations: 4 kB / 424.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04813/0.5025, allocations: 9.75 MB / 434.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/14.95, allocations: 7.891 kB / 434.7 MB, free: 12.17 MB / 350.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.917315128957853]