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.001772/0.001772, allocations: 119.6 kB / 18.45 MB, free: 4.605 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.002279/0.002279, allocations: 215.2 kB / 21.42 MB, free: 1.648 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.607/1.607, allocations: 207.6 MB / 231.8 MB, free: 4.047 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="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.002462/0.002462, allocations: 60.39 kB / 342.3 MB, free: 10.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1151, allocations: 49.12 MB / 391.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004784/0.1199, allocations: 3.111 MB / 394.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1215, allocations: 0.8353 MB / 395.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1217, allocations: 7.938 kB / 395.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1218, allocations: 63.38 kB / 395.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1221, allocations: 114.9 kB / 395.5 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.1224, allocations: 143.7 kB / 395.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000639/0.1231, allocations: 0.5346 MB / 396.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.1234, allocations: 128.6 kB / 396.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.1238, allocations: 227.2 kB / 396.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.1241, allocations: 251 kB / 396.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.1242, allocations: 52 kB / 396.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1243, allocations: 56 kB / 396.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1245, allocations: 115.6 kB / 397 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.1247, allocations: 234.9 kB / 397.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007549/0.1255, allocations: 0.5526 MB / 397.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1255, allocations: 0 / 397.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1255, allocations: 0 / 397.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1255, allocations: 0 / 397.8 MB, free: 2.375 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.001902/0.1274, allocations: 0.795 MB / 398.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.1274, allocations: 12.03 kB / 398.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.1276, allocations: 74.72 kB / 398.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.1277, allocations: 48.66 kB / 398.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.1283, allocations: 314.6 kB / 399 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.1283, allocations: 25.38 kB / 399.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.1284, allocations: 40.36 kB / 399.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1296, allocations: 0.5046 MB / 399.6 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1296, allocations: 0 / 399.6 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.1296, allocations: 16 kB / 399.6 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1297, allocations: 11.94 kB / 399.6 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.1311, allocations: 0.4996 MB / 400.1 MB, free: 15.93 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.003038/0.1342, allocations: 1.675 MB / 401.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.1354, allocations: 403.5 kB / 402.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.136, allocations: 221.4 kB / 402.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.136, allocations: 12.31 kB / 402.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.136, allocations: 38.89 kB / 402.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.136, allocations: 0 / 402.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005319/0.1414, allocations: 1.361 MB / 403.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.1415, allocations: 166.2 kB / 404 MB, free: 11.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.1419, allocations: 259 kB / 404.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.1419, allocations: 37.7 kB / 404.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1421, allocations: 216.7 kB / 404.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.1423, allocations: 142.7 kB / 404.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.1424, allocations: 70.14 kB / 404.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.1426, allocations: 346.8 kB / 405.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005817/0.1432, allocations: 184.7 kB / 405.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.1438, allocations: 286.5 kB / 405.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.1449, allocations: 418.6 kB / 405.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1449, allocations: 7.938 kB / 405.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002006/0.1469, allocations: 0.6781 MB / 406.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.147, allocations: 4.062 kB / 406.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.147, allocations: 8 kB / 406.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.1485, allocations: 317.4 kB / 406.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.1488, allocations: 75.88 kB / 407 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.1504, allocations: 1.347 MB / 408.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.1509, allocations: 75.8 kB / 408.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.1509, allocations: 19.98 kB / 408.4 MB, free: 7.195 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.0002575/0.1512, allocations: 157.8 kB / 408.6 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.1513, allocations: 35.77 kB / 408.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.1536, allocations: 0.7274 MB / 409.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1536, allocations: 4.047 kB / 409.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.1536, allocations: 7.969 kB / 409.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1536, allocations: 0 / 409.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.1544, allocations: 469 kB / 409.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1544, allocations: 0 / 409.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.1547, allocations: 55.95 kB / 409.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.156, allocations: 329.3 kB / 410.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.1561, allocations: 8 kB / 410.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.1576, allocations: 1.362 MB / 411.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1576, allocations: 0 / 411.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/0.1605, allocations: 1.016 MB / 412.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1607, allocations: 104.9 kB / 412.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.1607, allocations: 12 kB / 412.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.1611, allocations: 39.94 kB / 412.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.1612, allocations: 23.97 kB / 412.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.1612, allocations: 19.88 kB / 412.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002914/0.1615, allocations: 194 kB / 413 MB, free: 2.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1615, allocations: 4 kB / 413 MB, free: 2.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000477/0.162, allocations: 115.7 kB / 413.1 MB, free: 2.371 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.003283/0.1653, allocations: 1.561 MB / 414.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.1668, allocations: 459.5 kB / 415.1 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1668, allocations: 0 / 415.1 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006601/0.1675, allocations: 240.2 kB / 415.3 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.1679, allocations: 52.53 kB / 415.4 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008547/0.1765, allocations: 4.041 MB / 419.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.177, allocations: 0.7956 MB / 420.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.1772, allocations: 30.97 kB / 420.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.1774, allocations: 115.4 kB / 420.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1774, allocations: 0 / 420.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04475/0.2222, allocations: 9.382 MB / 429.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.42, allocations: 7.938 kB / 429.8 MB, free: 1.445 MB / 350.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000989903 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.csv","/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.333128874000977]