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.001306/0.001306, allocations: 116.6 kB / 18.49 MB, free: 4.59 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.001323/0.001323, allocations: 193 kB / 21.43 MB, free: 1.66 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.413/1.413, allocations: 225.6 MB / 249.8 MB, free: 3.617 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="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.001626/0.001626, allocations: 51.92 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1022, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004784/0.107, allocations: 3.147 MB / 421.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1086, allocations: 0.8001 MB / 422.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.1089, allocations: 4 kB / 422.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.1092, allocations: 67.3 kB / 422.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1095, allocations: 118.9 kB / 422.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.11, allocations: 143.8 kB / 422.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.1106, allocations: 0.5502 MB / 423.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.1109, allocations: 120.4 kB / 423.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.1113, allocations: 223.3 kB / 423.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.1117, allocations: 259 kB / 423.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1118, allocations: 52 kB / 424 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1119, allocations: 56 kB / 424 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.112, allocations: 119.6 kB / 424.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.1123, allocations: 234.9 kB / 424.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006917/0.113, allocations: 0.5564 MB / 424.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.113, allocations: 0 / 424.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.113, allocations: 0 / 424.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.113, allocations: 0 / 424.9 MB, free: 6.156 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.001822/0.1148, allocations: 0.8066 MB / 425.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1149, allocations: 8.031 kB / 425.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.035e-05/0.1149, allocations: 9.188 kB / 425.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.758e-05/0.115, allocations: 82.59 kB / 425.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1151, allocations: 52.66 kB / 425.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.1156, allocations: 318.7 kB / 426.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.1156, allocations: 29.38 kB / 426.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.1157, allocations: 36.38 kB / 426.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1168, allocations: 0.5044 MB / 426.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1168, allocations: 0 / 426.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.1169, allocations: 16 kB / 426.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1169, allocations: 8 kB / 426.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.1183, allocations: 0.4957 MB / 427.3 MB, free: 3.68 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.002604/0.1209, allocations: 1.667 MB / 428.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.122, allocations: 399.7 kB / 429.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.1225, allocations: 225.3 kB / 429.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.1225, allocations: 12.25 kB / 429.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1226, allocations: 38.89 kB / 429.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.633e-06/0.1226, allocations: 0 / 429.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004959/0.1275, allocations: 1.365 MB / 431 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/0.1276, allocations: 158.2 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.1279, allocations: 267 kB / 431.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.128, allocations: 37.69 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1281, allocations: 212.6 kB / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1283, allocations: 142.8 kB / 431.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1284, allocations: 82.08 kB / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1285, allocations: 342.8 kB / 432.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.1291, allocations: 180.8 kB / 432.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.1297, allocations: 286.5 kB / 432.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1307, allocations: 430.5 kB / 433.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1307, allocations: 0 / 433.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001858/0.1325, allocations: 0.6704 MB / 433.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.1326, allocations: 11.98 kB / 433.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1326, allocations: 0 / 433.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.1339, allocations: 313.5 kB / 434 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.1343, allocations: 87.81 kB / 434.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.1356, allocations: 1.343 MB / 435.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.1361, allocations: 75.84 kB / 435.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.1361, allocations: 19.98 kB / 435.6 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.0002045/0.1363, allocations: 154.4 kB / 435.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.1364, allocations: 39.7 kB / 435.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.1387, allocations: 0.7237 MB / 436.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.1387, allocations: 8 kB / 436.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1387, allocations: 4 kB / 436.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1387, allocations: 3.984 kB / 436.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.1393, allocations: 472.8 kB / 437 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1393, allocations: 0 / 437 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.1396, allocations: 59.94 kB / 437 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.1408, allocations: 321.4 kB / 437.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.1408, allocations: 8 kB / 437.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.1422, allocations: 1.362 MB / 438.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1422, allocations: 0 / 438.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.1448, allocations: 1.016 MB / 439.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.1449, allocations: 116.8 kB / 439.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.145, allocations: 12.06 kB / 439.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.1453, allocations: 43.94 kB / 439.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.1454, allocations: 23.97 kB / 439.9 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.1455, allocations: 12 kB / 439.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.1457, allocations: 193.9 kB / 440.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1457, allocations: 0 / 440.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000427/0.1461, allocations: 123.7 kB / 440.2 MB, free: 6.129 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.00301/0.1491, allocations: 1.561 MB / 441.8 MB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.1504, allocations: 459.4 kB / 442.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1504, allocations: 192 / 442.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006154/0.1511, allocations: 240.1 kB / 442.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.1515, allocations: 59.2 kB / 442.5 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1816/0.3331, allocations: 4.056 MB / 446.6 MB, free: 30.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3333, allocations: 0.7929 MB / 447.4 MB, free: 29.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.3335, allocations: 30.17 kB / 447.4 MB, free: 29.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3336, allocations: 121.3 kB / 447.5 MB, free: 29.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3336, allocations: 0.5625 kB / 447.5 MB, free: 29.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.3638, allocations: 9.466 MB / 457 MB, free: 28.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.39, allocations: 6.438 kB / 457 MB, free: 28.69 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.008965852030087]