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.0008615/0.0008615, allocations: 91.61 kB / 22.19 MB, free: 2.375 MB / 18.57 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.0008787/0.0008787, allocations: 156 kB / 25.44 MB, free: 8.859 MB / 18.57 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 0.8118/0.8118, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 299.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.974e-05, allocations: 2.281 kB / 299.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002808/0.002828, allocations: 2.872 MB / 302.6 MB, free: 120 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1368/0.1397, allocations: 0.7949 MB / 303.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.1398, allocations: 5.969 kB / 303.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.14, allocations: 60.89 kB / 303.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.1402, allocations: 124.8 kB / 303.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1405, allocations: 150.5 kB / 303.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.1408, allocations: 0.5528 MB / 304.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1411, allocations: 117.6 kB / 304.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.1414, allocations: 316.9 kB / 304.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1416, allocations: 189.4 kB / 304.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.1416, allocations: 52.31 kB / 304.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.1417, allocations: 57.84 kB / 305 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.1418, allocations: 119.4 kB / 305.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1419, allocations: 165.9 kB / 305.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.1424, allocations: 0.5806 MB / 305.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1424, allocations: 0 / 305.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1424, allocations: 0.6562 kB / 305.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.1424, allocations: 4 kB / 305.8 MB, free: 13.07 MB / 282.7 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.0009577/0.1434, allocations: 0.7185 MB / 306.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1434, allocations: 15.52 kB / 306.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.1435, allocations: 49.64 kB / 306.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1438, allocations: 244.4 kB / 306.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.1439, allocations: 32.7 kB / 306.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.1439, allocations: 36.53 kB / 306.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.1446, allocations: 0.6499 MB / 307.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1446, allocations: 1.625 kB / 307.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1447, allocations: 20.45 kB / 307.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.1447, allocations: 13.22 kB / 307.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.1454, allocations: 0.5014 MB / 308.1 MB, free: 11.78 MB / 282.7 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.00142/0.1469, allocations: 1.179 MB / 309.3 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00068/0.1475, allocations: 397.6 kB / 309.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.1478, allocations: 221.7 kB / 309.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1479, allocations: 8.375 kB / 309.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.1479, allocations: 38.23 kB / 309.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.1479, allocations: 0 / 309.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.002592/0.1505, allocations: 1.21 MB / 311.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.1505, allocations: 160.7 kB / 311.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1507, allocations: 269.6 kB / 311.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1508, allocations: 31.8 kB / 311.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.1508, allocations: 210.5 kB / 311.8 MB, free: 9.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.1509, allocations: 147.8 kB / 311.9 MB, free: 9.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.151, allocations: 78.42 kB / 312 MB, free: 9.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.151, allocations: 339.9 kB / 312.4 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.1513, allocations: 188.2 kB / 312.5 MB, free: 9.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.1517, allocations: 383.1 kB / 312.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.1522, allocations: 425.2 kB / 313.3 MB, free: 8.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1522, allocations: 1.375 kB / 313.3 MB, free: 8.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001042/0.1533, allocations: 0.668 MB / 314 MB, free: 8.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1533, allocations: 11.47 kB / 314 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1533, allocations: 5.25 kB / 314 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007262/0.154, allocations: 317.8 kB / 314.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1542, allocations: 85.61 kB / 314.4 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006481/0.1548, allocations: 1.349 MB / 315.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.1551, allocations: 73.19 kB / 315.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1551, allocations: 20.47 kB / 315.8 MB, free: 7.406 MB / 282.7 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.0001073/0.1552, allocations: 158.2 kB / 316 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1552, allocations: 36.58 kB / 316 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.1564, allocations: 0.7224 MB / 316.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.1564, allocations: 3.844 kB / 316.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1564, allocations: 0 / 316.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1564, allocations: 3.281 kB / 316.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.1567, allocations: 319 kB / 317.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1567, allocations: 4 kB / 317.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1569, allocations: 56.84 kB / 317.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006125/0.1575, allocations: 323 kB / 317.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1575, allocations: 9 kB / 317.5 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000597/0.1581, allocations: 1.358 MB / 318.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1581, allocations: 1.219 kB / 318.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.1595, allocations: 1.01 MB / 319.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.1595, allocations: 38.75 kB / 319.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.1595, allocations: 6.188 kB / 319.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1597, allocations: 48.88 kB / 319.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1598, allocations: 25.47 kB / 319.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1598, allocations: 11.45 kB / 320 MB, free: 5.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1599, allocations: 184.1 kB / 320.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1599, allocations: 3.938 kB / 320.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.1602, allocations: 113.8 kB / 320.3 MB, free: 4.902 MB / 282.7 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.0001302/0.1603, allocations: 115.5 kB / 320.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007851/0.1611, allocations: 458.9 kB / 320.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1611, allocations: 0 / 320.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.1614, allocations: 238.5 kB / 321 MB, free: 4.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.1617, allocations: 54.25 kB / 321.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1628, allocations: 0.8349 MB / 321.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.1629, allocations: 190.4 kB / 322.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.163, allocations: 28.73 kB / 322.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.163, allocations: 5.156 kB / 322.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of Templates: time 0.005748/0.1688, allocations: 7.206 MB / 329.4 MB, free: 15.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/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: 4.389106755144894]