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.001122/0.001122, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002712, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008997/0.0008997, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002477, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9605/0.9605, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08372/1.044, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.38e-05, allocations: 2.312 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002974/0.002988, allocations: 3.14 MB / 242.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004493, allocations: 0.8229 MB / 243.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.004638, allocations: 8 kB / 243.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.004751, allocations: 55.38 kB / 243.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.004907, allocations: 126.8 kB / 243.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.005188, allocations: 155.7 kB / 243.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.005575, allocations: 0.5577 MB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.005768, allocations: 125.4 kB / 244.6 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.006147, allocations: 358.5 kB / 244.9 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.006337, allocations: 191.5 kB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.006388, allocations: 52 kB / 245.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.006484, allocations: 56 kB / 245.2 MB, free: 13.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.006537, allocations: 83.69 kB / 245.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.006638, allocations: 139.7 kB / 245.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.006976, allocations: 342.9 kB / 245.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.00699, allocations: 0 / 245.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006991, allocations: 0 / 245.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.007009, allocations: 0 / 245.7 MB, free: 12.93 MB / 250.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.0008908/0.0079, allocations: 0.7608 MB / 246.5 MB, free: 12.15 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.00793, allocations: 12.03 kB / 246.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.008019, allocations: 60.89 kB / 246.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.008316, allocations: 212.6 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.008342, allocations: 29.31 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.008395, allocations: 44.38 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.008834, allocations: 0.504 MB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.008846, allocations: 192 / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.008872, allocations: 28.28 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.008881, allocations: 15.94 kB / 247.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.009075, allocations: 138.9 kB / 247.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.01021, allocations: 0.9462 MB / 248.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.01056, allocations: 211.4 kB / 248.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/0.01065, allocations: 92.47 kB / 248.8 MB, free: 9.727 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.01068, allocations: 12.31 kB / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.01071, allocations: 46.83 kB / 248.8 MB, free: 9.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.01071, allocations: 0 / 248.8 MB, free: 9.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001468/0.01218, allocations: 0.719 MB / 249.6 MB, free: 8.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.0122, allocations: 63.34 kB / 249.6 MB, free: 8.855 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.01233, allocations: 247 kB / 249.9 MB, free: 8.602 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.01236, allocations: 37.7 kB / 249.9 MB, free: 8.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.01244, allocations: 193.1 kB / 250.1 MB, free: 8.367 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.01251, allocations: 146.7 kB / 250.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.01259, allocations: 74.16 kB / 250.3 MB, free: 8.145 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003299/0.01292, allocations: 346.7 kB / 250.6 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.01299, allocations: 52.97 kB / 250.7 MB, free: 7.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.01312, allocations: 258 kB / 250.9 MB, free: 7.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.01331, allocations: 210.5 kB / 251.2 MB, free: 7.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01331, allocations: 0 / 251.2 MB, free: 7.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004263/0.01373, allocations: 346.8 kB / 251.5 MB, free: 6.848 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01375, allocations: 4 kB / 251.5 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01375, allocations: 8.219 kB / 251.5 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.01429, allocations: 322.4 kB / 251.8 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.01449, allocations: 83.83 kB / 251.9 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005032/0.01499, allocations: 1.163 MB / 253.1 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.01513, allocations: 59.72 kB / 253.1 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.01515, allocations: 15.98 kB / 253.1 MB, free: 5.125 MB / 250.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 8.961e-05/0.01524, allocations: 129.8 kB / 253.3 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.01528, allocations: 39.97 kB / 253.3 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.01583, allocations: 389.6 kB / 253.7 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.01584, allocations: 4 kB / 253.7 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01584, allocations: 4 kB / 253.7 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01585, allocations: 4.031 kB / 253.7 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.01607, allocations: 237.5 kB / 253.9 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01607, allocations: 0 / 253.9 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.01623, allocations: 63.89 kB / 254 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.01625, allocations: 31.7 kB / 254 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.01669, allocations: 249.3 kB / 254.3 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.01671, allocations: 4 kB / 254.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004634/0.01717, allocations: 1.175 MB / 255.4 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01717, allocations: 0 / 255.4 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.01789, allocations: 0.5355 MB / 256 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.01794, allocations: 7.984 kB / 256 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.01813, allocations: 27.98 kB / 256 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.01818, allocations: 23.95 kB / 256 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.0182, allocations: 11.98 kB / 256 MB, free: 2.094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.01829, allocations: 84.64 kB / 256.1 MB, free: 2.008 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01829, allocations: 4.031 kB / 256.1 MB, free: 2.004 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.01853, allocations: 115.8 kB / 256.2 MB, free: 1.891 MB / 250.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.000113/0.01864, allocations: 92.34 kB / 256.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.01896, allocations: 227.9 kB / 256.6 MB, free: 1.566 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.01897, allocations: 8.125 kB / 256.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.01911, allocations: 145.3 kB / 256.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.01932, allocations: 84.61 kB / 256.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.02285, allocations: 0.7388 MB / 257.5 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.02291, allocations: 101.1 kB / 257.6 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.617e-05/0.02299, allocations: 30.97 kB / 257.7 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.02312, allocations: 111.3 kB / 257.8 MB, free: 308 kB / 250.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02312, allocations: 4 kB / 257.8 MB, free: 304 kB / 250.7 MB Notification: Performance of Templates: time 0.007102/0.03022, allocations: 5.484 MB / 263.3 MB, free: 10.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.595896614715457]