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.0009785/0.0009785, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001085/0.001085, allocations: 145.2 kB / 25.6 MB, free: 8.93 MB / 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.9863/0.9863, allocations: 173.4 MB / 202.2 MB, free: 8.289 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 1.663e-06/1.663e-06, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.932e-05, allocations: 2.312 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005971/0.006001, allocations: 3.091 MB / 272.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.007347, allocations: 0.7837 MB / 273.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.007511, allocations: 7.062 kB / 273.1 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.007689, allocations: 63.31 kB / 273.2 MB, free: 5.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.007861, allocations: 126.8 kB / 273.3 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.008261, allocations: 152.6 kB / 273.4 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.008694, allocations: 0.5616 MB / 274 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.008908, allocations: 124.8 kB / 274.1 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.009283, allocations: 319.4 kB / 274.4 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.009492, allocations: 191.5 kB / 274.6 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.009548, allocations: 52 kB / 274.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.009635, allocations: 63.97 kB / 274.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.009704, allocations: 111.6 kB / 274.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.009823, allocations: 163.6 kB / 275 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.01022, allocations: 394.6 kB / 275.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.01022, allocations: 0 / 275.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01023, allocations: 0 / 275.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.01023, allocations: 4 kB / 275.4 MB, free: 3.582 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.0009357/0.01117, allocations: 0.8 MB / 276.2 MB, free: 2.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.0112, allocations: 8.031 kB / 276.2 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.0113, allocations: 76.66 kB / 276.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.01158, allocations: 263.3 kB / 276.5 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.01161, allocations: 33.31 kB / 276.6 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.01166, allocations: 36.38 kB / 276.6 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.01218, allocations: 0.5139 MB / 277.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01219, allocations: 192 / 277.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.01222, allocations: 16.38 kB / 277.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01223, allocations: 15.94 kB / 277.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.01246, allocations: 178.8 kB / 277.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.01387, allocations: 1.158 MB / 278.5 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.0143, allocations: 240.2 kB / 278.7 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.01444, allocations: 108.3 kB / 278.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.01446, allocations: 8.328 kB / 278.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.01449, allocations: 45.7 kB / 278.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/0.01449, allocations: 0 / 278.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001899/0.01639, allocations: 0.81 MB / 279.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.01645, allocations: 158.2 kB / 279.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.01664, allocations: 306.1 kB / 280.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.01667, allocations: 33.7 kB / 280.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01679, allocations: 263.4 kB / 280.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/0.01688, allocations: 142.7 kB / 280.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.01697, allocations: 83.81 kB / 280.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.01711, allocations: 0.5195 MB / 281.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.01721, allocations: 60.95 kB / 281.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.01739, allocations: 299.9 kB / 281.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.01764, allocations: 233.2 kB / 281.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01764, allocations: 0 / 281.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006129/0.01825, allocations: 428.3 kB / 282.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.01827, allocations: 6.031 kB / 282.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01828, allocations: 4 kB / 282.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/0.01889, allocations: 251.1 kB / 282.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.01905, allocations: 67.89 kB / 282.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00075/0.0198, allocations: 1.729 MB / 284.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.01999, allocations: 51.7 kB / 284.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.02001, allocations: 15.94 kB / 284.3 MB, free: 10.18 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.000131/0.02014, allocations: 180.6 kB / 284.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.0202, allocations: 47.81 kB / 284.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.02123, allocations: 466.8 kB / 284.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.02124, allocations: 7.938 kB / 285 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.02124, allocations: 0 / 285 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.02125, allocations: 0 / 285 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.02164, allocations: 264.9 kB / 285.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.02164, allocations: 4 kB / 285.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.02185, allocations: 51.95 kB / 285.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007614/0.02261, allocations: 250.9 kB / 285.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.02265, allocations: 12 kB / 285.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009551/0.0236, allocations: 1.736 MB / 287.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0236, allocations: 64 / 287.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.02448, allocations: 0.6505 MB / 287.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.02453, allocations: 39.7 kB / 287.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.02457, allocations: 11.92 kB / 288 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.02472, allocations: 23.98 kB / 288 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.02477, allocations: 23.95 kB / 288 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.02479, allocations: 11.98 kB / 288 MB, free: 6.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.89e-05/0.02489, allocations: 203 kB / 288.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02489, allocations: 0 / 288.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000304/0.02519, allocations: 111.8 kB / 288.3 MB, free: 5.961 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.0001392/0.02533, allocations: 119.2 kB / 288.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.02574, allocations: 258.6 kB / 288.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02574, allocations: 4 kB / 288.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.02592, allocations: 160.4 kB / 288.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.0262, allocations: 52.62 kB / 288.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.02737, allocations: 0.742 MB / 289.6 MB, free: 4.598 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.167e-05/0.02743, allocations: 101.1 kB / 289.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.646e-05/0.02753, allocations: 30.97 kB / 289.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.02768, allocations: 134.2 kB / 289.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.02768, allocations: 0 / 289.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of Templates: time 0.007624/0.03531, allocations: 5.439 MB / 295.3 MB, free: 14.94 MB / 282.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: 2.949259787797928]