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.001213/0.001213, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.00133/0.00133, allocations: 163.6 kB / 24.91 MB, free: 8.766 MB / 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.9826/0.9826, allocations: 177 MB / 205.2 MB, free: 5.082 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.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.648e-05, allocations: 2.312 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004202/0.004219, allocations: 3.129 MB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.005644, allocations: 0.8736 MB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.005793, allocations: 8 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.005937, allocations: 55.38 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.006158, allocations: 118.8 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.006497, allocations: 171.7 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.006986, allocations: 0.5616 MB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.007192, allocations: 129.4 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.007716, allocations: 331.3 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.007953, allocations: 191.5 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.00802, allocations: 52 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.00812, allocations: 63.98 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.008201, allocations: 111.6 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.008355, allocations: 175.6 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.008764, allocations: 394.7 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.008765, allocations: 0 / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.008767, allocations: 4 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.008772, allocations: 0 / 279.7 MB, free: 10.71 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.0009198/0.009691, allocations: 0.6675 MB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.00972, allocations: 15.92 kB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.009884, allocations: 72.88 kB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.01016, allocations: 220.5 kB / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.01018, allocations: 29.38 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.01024, allocations: 40.36 kB / 280.8 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.0108, allocations: 0.5079 MB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01081, allocations: 8.078 kB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.01084, allocations: 16.38 kB / 281.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.01085, allocations: 11.94 kB / 281.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.01114, allocations: 150.9 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.01281, allocations: 0.9345 MB / 282.4 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.01333, allocations: 211.4 kB / 282.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.01349, allocations: 93.41 kB / 282.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.01352, allocations: 16.33 kB / 282.7 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.01355, allocations: 34.89 kB / 282.7 MB, free: 7.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.01355, allocations: 0 / 282.7 MB, free: 7.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00183/0.01538, allocations: 0.7269 MB / 283.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.01545, allocations: 170.2 kB / 283.6 MB, free: 6.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.01559, allocations: 250.9 kB / 283.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.01562, allocations: 33.7 kB / 283.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.0157, allocations: 189.1 kB / 284.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.01577, allocations: 142.8 kB / 284.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.01585, allocations: 74.12 kB / 284.3 MB, free: 5.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.01593, allocations: 346.7 kB / 284.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/0.01601, allocations: 52.98 kB / 284.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.01616, allocations: 262 kB / 284.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.01635, allocations: 202.6 kB / 285.1 MB, free: 4.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01635, allocations: 3.938 kB / 285.1 MB, free: 4.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004447/0.0168, allocations: 346.8 kB / 285.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01681, allocations: 8.219 kB / 285.5 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01681, allocations: 4 kB / 285.5 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.01733, allocations: 233.4 kB / 285.7 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.01748, allocations: 71.89 kB / 285.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005302/0.01801, allocations: 1.159 MB / 287 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01816, allocations: 63.77 kB / 287 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.01817, allocations: 8 kB / 287 MB, free: 2.977 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 9.839e-05/0.01827, allocations: 145.6 kB / 287.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.01831, allocations: 31.97 kB / 287.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.01887, allocations: 397.5 kB / 287.6 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01887, allocations: 4 kB / 287.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01888, allocations: 4 kB / 287.6 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01888, allocations: 4 kB / 287.6 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.01911, allocations: 225.6 kB / 287.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01911, allocations: 0 / 287.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.01923, allocations: 47.91 kB / 287.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.01966, allocations: 237.4 kB / 288.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.01968, allocations: 4 kB / 288.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004803/0.02016, allocations: 1.183 MB / 289.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02016, allocations: 0 / 289.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.02079, allocations: 0.5395 MB / 289.8 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.02082, allocations: 35.64 kB / 289.9 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.02085, allocations: 15.94 kB / 289.9 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1118/0.1326, allocations: 18.3 kB / 289.9 MB, free: 26.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.1327, allocations: 26.83 kB / 289.9 MB, free: 26.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1327, allocations: 9.25 kB / 289.9 MB, free: 26.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.454e-05/0.1328, allocations: 84.88 kB / 290 MB, free: 26.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1328, allocations: 0.5312 kB / 290 MB, free: 26.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.1331, allocations: 110.8 kB / 290.1 MB, free: 26.28 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.0001439/0.1332, allocations: 90.84 kB / 290.2 MB, free: 26.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.1337, allocations: 237.6 kB / 290.4 MB, free: 26.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.1337, allocations: 2.531 kB / 290.4 MB, free: 26.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.1339, allocations: 140.4 kB / 290.6 MB, free: 26.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.1341, allocations: 55.05 kB / 290.6 MB, free: 26.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1352, allocations: 0.7311 MB / 291.4 MB, free: 25.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.69e-05/0.1352, allocations: 101.5 kB / 291.5 MB, free: 25.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.755e-05/0.1353, allocations: 32.33 kB / 291.5 MB, free: 25.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1354, allocations: 109.7 kB / 291.6 MB, free: 25.74 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1354, allocations: 0 / 291.6 MB, free: 25.74 MB / 266.7 MB Notification: Performance of Templates: time 0.008008/0.1434, allocations: 5.19 MB / 296.8 MB, free: 25.15 MB / 266.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.796473552007228]