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.001891/0.001891, allocations: 87.88 kB / 21.19 MB, free: 3.406 MB / 18.57 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.001204/0.001204, allocations: 141.1 kB / 24.54 MB, free: 60 kB / 18.57 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.9511/0.9511, allocations: 173.4 MB / 201.2 MB, free: 9.336 MB / 186.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 2.555e-06/2.555e-06, allocations: 4 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.895e-05, allocations: 2.312 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.007774/0.007793, allocations: 3.135 MB / 271.1 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.01228, allocations: 0.7805 MB / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.01245, allocations: 7.938 kB / 271.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.01264, allocations: 63.38 kB / 272 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.01284, allocations: 122.8 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.01325, allocations: 151.7 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.0137, allocations: 0.5616 MB / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.01393, allocations: 124.8 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.0143, allocations: 323.3 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.01454, allocations: 203.4 kB / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.0146, allocations: 52 kB / 273.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.0147, allocations: 56 kB / 273.6 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.01478, allocations: 107.6 kB / 273.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.01494, allocations: 175.6 kB / 273.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.01839, allocations: 386.7 kB / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01839, allocations: 0 / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.0184, allocations: 0 / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.0184, allocations: 4 kB / 274.2 MB, free: 172 kB / 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.001081/0.01948, allocations: 0.7923 MB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.01952, allocations: 8.922 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.01964, allocations: 80.59 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.01995, allocations: 255.3 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.01999, allocations: 29.38 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.02005, allocations: 40.38 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/0.02075, allocations: 0.5491 MB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.02076, allocations: 4.188 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.0208, allocations: 16.38 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.02081, allocations: 11.94 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.02433, allocations: 217.8 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.02635, allocations: 1.143 MB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.02705, allocations: 276.2 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.0273, allocations: 127.3 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.02734, allocations: 12.31 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.02738, allocations: 41.72 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.474e-06/0.02738, allocations: 0 / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002895/0.03027, allocations: 0.8609 MB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.03034, allocations: 162.2 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.03053, allocations: 310.2 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.03055, allocations: 29.7 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.03066, allocations: 263.4 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.03073, allocations: 142.7 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.03082, allocations: 83.86 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.03095, allocations: 0.5118 MB / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.03108, allocations: 80.95 kB / 280.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.0313, allocations: 316 kB / 280.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.0316, allocations: 265.3 kB / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.0316, allocations: 0 / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006474/0.03225, allocations: 472.3 kB / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.03227, allocations: 6.969 kB / 281.3 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.03228, allocations: 7.984 kB / 281.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/0.03292, allocations: 247.1 kB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.03308, allocations: 75.83 kB / 281.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007965/0.03388, allocations: 1.748 MB / 283.3 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.03403, allocations: 55.7 kB / 283.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.03405, allocations: 19.94 kB / 283.4 MB, free: 6.469 MB / 266.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.0001159/0.03417, allocations: 180.5 kB / 283.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.03422, allocations: 51.88 kB / 283.6 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.03503, allocations: 494.8 kB / 284.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.03503, allocations: 4 kB / 284.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.03504, allocations: 0 / 284.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.03504, allocations: 3.984 kB / 284.1 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.03533, allocations: 308.3 kB / 284.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.03533, allocations: 0 / 284.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.03547, allocations: 55.89 kB / 284.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/0.03598, allocations: 255.1 kB / 284.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.036, allocations: 8 kB / 284.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007113/0.03672, allocations: 1.76 MB / 286.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.03672, allocations: 0 / 286.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.03761, allocations: 0.7091 MB / 287.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.03765, allocations: 39.62 kB / 287.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.03768, allocations: 16.03 kB / 287.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.03781, allocations: 23.98 kB / 287.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.03786, allocations: 27.98 kB / 287.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.03788, allocations: 15.98 kB / 287.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.03799, allocations: 207 kB / 287.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03799, allocations: 0 / 287.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.03823, allocations: 115.8 kB / 287.6 MB, free: 2.066 MB / 266.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.0001239/0.03836, allocations: 115.2 kB / 287.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.03881, allocations: 290.8 kB / 288 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03881, allocations: 0 / 288 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.03902, allocations: 175.8 kB / 288.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.03929, allocations: 61.06 kB / 288.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.04061, allocations: 0.7487 MB / 289 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.902e-05/0.04068, allocations: 101.1 kB / 289.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.584e-05/0.04076, allocations: 30.97 kB / 289.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.04082, allocations: 36.42 kB / 289.2 MB, free: 472 kB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04082, allocations: 0 / 289.2 MB, free: 472 kB / 266.7 MB Notification: Performance of Templates: time 0.1286/0.1694, allocations: 4.994 MB / 294.2 MB, free: 29.93 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 -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: 3.2281566839665174]