Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8925/0.8925, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.21e-05, allocations: 2.312 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003051/0.003063, allocations: 3.167 MB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004253, allocations: 0.8388 MB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.004408, allocations: 4 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.004555, allocations: 67.31 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.004718, allocations: 118.8 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.00507, allocations: 163.7 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.005447, allocations: 0.5616 MB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.005624, allocations: 124.8 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.005952, allocations: 331.3 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.006127, allocations: 195.4 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.006178, allocations: 52 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.006264, allocations: 60 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.006326, allocations: 111.6 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.00644, allocations: 175.6 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.006791, allocations: 394.6 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006793, allocations: 0 / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006794, allocations: 0 / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.006799, allocations: 0 / 279.2 MB, free: 11.05 MB / 266.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.0008061/0.007605, allocations: 0.8 MB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.007637, allocations: 11.98 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.007789, allocations: 88.61 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.00804, allocations: 263.3 kB / 280.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.008061, allocations: 29.38 kB / 280.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.008102, allocations: 36.38 kB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.008622, allocations: 0.553 MB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.008633, allocations: 4.125 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.00866, allocations: 16.38 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.00867, allocations: 15.94 kB / 281.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.008979, allocations: 217.8 kB / 281.3 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.01021, allocations: 1.15 MB / 282.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.01064, allocations: 269.2 kB / 282.7 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.01079, allocations: 128.2 kB / 282.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.01082, allocations: 12.33 kB / 282.8 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.01084, allocations: 49.64 kB / 282.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.242e-06/0.01084, allocations: 0 / 282.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001791/0.01263, allocations: 0.8532 MB / 283.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.01269, allocations: 158.2 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.01286, allocations: 306.3 kB / 284.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.01289, allocations: 37.7 kB / 284.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01299, allocations: 267.3 kB / 284.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.01306, allocations: 138.8 kB / 284.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.01314, allocations: 79.84 kB / 284.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01326, allocations: 0.5118 MB / 285.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.01339, allocations: 80.95 kB / 285.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.01361, allocations: 316 kB / 285.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.0139, allocations: 261.3 kB / 285.8 MB, free: 4.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.0139, allocations: 4 kB / 285.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006333/0.01453, allocations: 464.3 kB / 286.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.01454, allocations: 4 kB / 286.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01455, allocations: 4 kB / 286.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/0.0151, allocations: 259.2 kB / 286.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01526, allocations: 71.83 kB / 286.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006876/0.01595, allocations: 1.748 MB / 288.4 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.0161, allocations: 55.7 kB / 288.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.01612, allocations: 15.94 kB / 288.4 MB, free: 1.34 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.0001097/0.01623, allocations: 180.6 kB / 288.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.01629, allocations: 55.8 kB / 288.7 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007417/0.01703, allocations: 487.2 kB / 289.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01703, allocations: 4 kB / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01703, allocations: 4 kB / 289.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01704, allocations: 3.984 kB / 289.2 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.01731, allocations: 308 kB / 289.5 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01731, allocations: 4 kB / 289.5 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.01744, allocations: 55.89 kB / 289.5 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004979/0.01794, allocations: 255.1 kB / 289.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.01795, allocations: 4 kB / 289.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006633/0.01862, allocations: 1.756 MB / 291.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01862, allocations: 4.062 kB / 291.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.0195, allocations: 0.7169 MB / 292.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.01953, allocations: 43.62 kB / 292.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.01956, allocations: 12 kB / 292.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.01969, allocations: 19.98 kB / 292.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.01973, allocations: 27.94 kB / 292.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.01975, allocations: 12 kB / 292.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.01986, allocations: 214.9 kB / 292.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01986, allocations: 0 / 292.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.02009, allocations: 115.8 kB / 292.7 MB, free: 12.93 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 8.986e-05/0.02018, allocations: 107.3 kB / 292.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.02058, allocations: 294 kB / 293.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.91e-07/0.02058, allocations: 0 / 293.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.02078, allocations: 180.1 kB / 293.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.021, allocations: 52.56 kB / 293.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02202, allocations: 0.767 MB / 294.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.02207, allocations: 105 kB / 294.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.578e-05/0.02215, allocations: 26.98 kB / 294.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.02219, allocations: 28.48 kB / 294.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of SimCode: time 4.2e-07/0.02219, allocations: 0 / 294.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of Templates: time 0.006632/0.02883, allocations: 5.228 MB / 299.5 MB, free: 6.145 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.902953706216067]