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.001599/0.001599, allocations: 120.7 kB / 17.79 MB, free: 5.137 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.001867/0.001867, allocations: 186.9 kB / 20.73 MB, free: 2.207 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.369/1.369, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 51.92 kB / 365.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09795, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004498/0.1024, allocations: 3.155 MB / 420.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1039, allocations: 0.7923 MB / 421.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.104, allocations: 8 kB / 421.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.1042, allocations: 59.38 kB / 421.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.1045, allocations: 114.9 kB / 421.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.1049, allocations: 159.7 kB / 422.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.1054, allocations: 0.5463 MB / 422.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.1057, allocations: 120.4 kB / 422.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.106, allocations: 223.2 kB / 423 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1063, allocations: 251 kB / 423.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.816e-05/0.1064, allocations: 52 kB / 423.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1065, allocations: 55.98 kB / 423.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.1066, allocations: 107.7 kB / 423.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.1068, allocations: 242.8 kB / 423.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.1074, allocations: 0.5603 MB / 424.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1074, allocations: 4 kB / 424.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1074, allocations: 0 / 424.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1074, allocations: 0 / 424.2 MB, free: 6.129 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.001584/0.109, allocations: 0.7988 MB / 425 MB, free: 5.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.109, allocations: 16.02 kB / 425 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.743e-05/0.1091, allocations: 78.72 kB / 425.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.1092, allocations: 48.66 kB / 425.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.1097, allocations: 306.7 kB / 425.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.1097, allocations: 29.38 kB / 425.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/0.1098, allocations: 40.31 kB / 425.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1108, allocations: 0.5046 MB / 426 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1108, allocations: 0 / 426 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.1109, allocations: 16 kB / 426 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1109, allocations: 16 kB / 426.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1121, allocations: 0.4996 MB / 426.6 MB, free: 3.664 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.002594/0.1147, allocations: 1.663 MB / 428.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1158, allocations: 403.7 kB / 428.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.1163, allocations: 221.3 kB / 428.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.1163, allocations: 4.328 kB / 428.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1164, allocations: 46.77 kB / 428.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.1164, allocations: 4 kB / 428.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004869/0.1212, allocations: 1.365 MB / 430.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.1213, allocations: 158.2 kB / 430.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.1217, allocations: 267 kB / 430.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.1217, allocations: 33.7 kB / 430.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1219, allocations: 220.7 kB / 430.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.122, allocations: 138.8 kB / 431 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1222, allocations: 82.08 kB / 431.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1223, allocations: 342.8 kB / 431.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.1228, allocations: 184.7 kB / 431.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.1234, allocations: 278.5 kB / 431.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/0.1244, allocations: 426.5 kB / 432.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1244, allocations: 4 kB / 432.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001841/0.1262, allocations: 0.6704 MB / 433 MB, free: 12.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1262, allocations: 12.06 kB / 433 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1262, allocations: 0 / 433 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.1275, allocations: 317.4 kB / 433.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.1279, allocations: 79.88 kB / 433.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1293, allocations: 1.35 MB / 434.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.1298, allocations: 79.88 kB / 434.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.1298, allocations: 8 kB / 434.8 MB, free: 10.96 MB / 366.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.0002106/0.13, allocations: 158.4 kB / 435 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.1301, allocations: 35.77 kB / 435 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.1322, allocations: 0.7354 MB / 435.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1322, allocations: 4 kB / 435.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1322, allocations: 0 / 435.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1322, allocations: 0 / 435.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.1328, allocations: 472.8 kB / 436.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1328, allocations: 4 kB / 436.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.1331, allocations: 59.89 kB / 436.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.1343, allocations: 325.4 kB / 436.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.1343, allocations: 4 kB / 436.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.1357, allocations: 1.362 MB / 438 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1357, allocations: 4.031 kB / 438 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.1382, allocations: 1.012 MB / 439 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1383, allocations: 120.8 kB / 439.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.1384, allocations: 8 kB / 439.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.1388, allocations: 39.95 kB / 439.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.1388, allocations: 23.95 kB / 439.2 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.1389, allocations: 12 kB / 439.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.1392, allocations: 202 kB / 439.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1392, allocations: 0 / 439.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004492/0.1396, allocations: 115.7 kB / 439.5 MB, free: 6.121 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.002989/0.1426, allocations: 1.565 MB / 441.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.1439, allocations: 455.5 kB / 441.5 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1439, allocations: 0 / 441.5 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.1444, allocations: 248.4 kB / 441.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.1449, allocations: 59.02 kB / 441.8 MB, free: 3.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1947/0.3396, allocations: 4.051 MB / 445.9 MB, free: 30.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3398, allocations: 0.7949 MB / 446.7 MB, free: 29.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.34, allocations: 33.41 kB / 446.7 MB, free: 29.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.3402, allocations: 120.9 kB / 446.8 MB, free: 29.81 MB / 366.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3402, allocations: 0.9688 kB / 446.8 MB, free: 29.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07506/0.4153, allocations: 9.43 MB / 456.2 MB, free: 28.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.88, allocations: 10.38 kB / 456.2 MB, free: 28.83 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.630137824919075]