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.001382/0.001382, allocations: 112.8 kB / 19.16 MB, free: 3.891 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.001585/0.001585, allocations: 209.6 kB / 22.12 MB, free: 0.9492 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.564/1.564, allocations: 207.6 MB / 232.5 MB, free: 3.934 MB / 174.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",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.001753/0.001753, allocations: 51.92 kB / 343 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1096, allocations: 49.13 MB / 392.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004753/0.1143, allocations: 3.105 MB / 395.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1162, allocations: 0.8353 MB / 396.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1164, allocations: 4 kB / 396.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.1166, allocations: 67.36 kB / 396.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1168, allocations: 114.9 kB / 396.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.1172, allocations: 139.7 kB / 396.4 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.1179, allocations: 0.5347 MB / 396.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.1181, allocations: 128.2 kB / 397 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.1185, allocations: 219.3 kB / 397.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.1188, allocations: 266.9 kB / 397.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.1189, allocations: 52 kB / 397.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.119, allocations: 52 kB / 397.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1191, allocations: 111.7 kB / 397.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.1193, allocations: 242.8 kB / 398 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.12, allocations: 0.5448 MB / 398.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.12, allocations: 0 / 398.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.12, allocations: 0 / 398.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.12, allocations: 0 / 398.5 MB, free: 2.27 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.001772/0.1218, allocations: 0.7989 MB / 399.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1218, allocations: 15.97 kB / 399.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.15e-05/0.1218, allocations: 9.188 kB / 399.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.1219, allocations: 78.7 kB / 399.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.122, allocations: 48.66 kB / 399.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.1225, allocations: 314.7 kB / 399.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.1226, allocations: 25.38 kB / 399.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.1227, allocations: 36.38 kB / 399.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.1238, allocations: 0.5044 MB / 400.3 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1238, allocations: 0 / 400.3 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.1239, allocations: 16 kB / 400.3 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1239, allocations: 12 kB / 400.4 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.1253, allocations: 0.4996 MB / 400.9 MB, free: 15.8 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.002895/0.1282, allocations: 1.675 MB / 402.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.1294, allocations: 407.5 kB / 402.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/0.1299, allocations: 225.4 kB / 403.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.13, allocations: 4.328 kB / 403.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.13, allocations: 38.89 kB / 403.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/0.13, allocations: 3.938 kB / 403.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005335/0.1354, allocations: 1.365 MB / 404.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1355, allocations: 158.2 kB / 404.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.1359, allocations: 263 kB / 405 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.1359, allocations: 33.69 kB / 405 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.1361, allocations: 212.7 kB / 405.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.1362, allocations: 142.8 kB / 405.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.1364, allocations: 78.12 kB / 405.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.1366, allocations: 346.8 kB / 405.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.1371, allocations: 180.8 kB / 405.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.1378, allocations: 282.5 kB / 406.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.1389, allocations: 426.5 kB / 406.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1389, allocations: 0 / 406.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002123/0.141, allocations: 0.6781 MB / 407.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.141, allocations: 8 kB / 407.3 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1411, allocations: 3.984 kB / 407.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.1425, allocations: 321.4 kB / 407.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.1429, allocations: 83.88 kB / 407.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.1445, allocations: 1.339 MB / 409.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.145, allocations: 75.7 kB / 409.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.1451, allocations: 24.11 kB / 409.2 MB, free: 7.07 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.0002982/0.1454, allocations: 153.8 kB / 409.3 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1455, allocations: 39.8 kB / 409.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.148, allocations: 0.7235 MB / 410.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.148, allocations: 4 kB / 410.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.148, allocations: 8 kB / 410.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.148, allocations: 3.984 kB / 410.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007968/0.1488, allocations: 465 kB / 410.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1488, allocations: 0 / 410.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.1491, allocations: 59.89 kB / 410.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.1504, allocations: 321.4 kB / 410.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.1504, allocations: 11.98 kB / 410.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.152, allocations: 1.358 MB / 412.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.152, allocations: 4 kB / 412.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.1548, allocations: 1.016 MB / 413.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.1549, allocations: 104.9 kB / 413.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.155, allocations: 8 kB / 413.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.1554, allocations: 52 kB / 413.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.1555, allocations: 19.97 kB / 413.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.1555, allocations: 15.94 kB / 413.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003145/0.1558, allocations: 197.9 kB / 413.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1558, allocations: 0 / 413.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.1563, allocations: 111.8 kB / 413.8 MB, free: 2.254 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.003518/0.1599, allocations: 1.561 MB / 415.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.1615, allocations: 463.7 kB / 415.8 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.1615, allocations: 3.938 kB / 415.8 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006859/0.1621, allocations: 243.9 kB / 416.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1627, allocations: 44.59 kB / 416.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008939/0.1716, allocations: 4.046 MB / 420.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.1721, allocations: 0.7917 MB / 420.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.1723, allocations: 30.97 kB / 421 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.1725, allocations: 123.4 kB / 421.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1725, allocations: 0 / 421.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.2051, allocations: 9.413 MB / 430.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.22, allocations: 11.94 kB / 430.5 MB, free: 1.281 MB / 350.1 MB " [Timeout remaining time 647] (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: 16.077960928028915]