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.00126/0.00126, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001397/0.001397, allocations: 163.4 kB / 25.61 MB, free: 8.582 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 1.012/1.012, allocations: 177 MB / 205.9 MB, free: 4.457 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.172e-06/1.172e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.603e-05, allocations: 7.156 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003154/0.00317, allocations: 3.117 MB / 277.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.004242, allocations: 0.8366 MB / 278.1 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.004381, allocations: 9.75 kB / 278.1 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.004529, allocations: 63.36 kB / 278.1 MB, free: 248 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.004663, allocations: 127.3 kB / 278.3 MB, free: 120 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.004965, allocations: 156.9 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.005338, allocations: 0.5733 MB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.005531, allocations: 120.8 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.00587, allocations: 319.4 kB / 279.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.006058, allocations: 195.5 kB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.006109, allocations: 52 kB / 279.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.006189, allocations: 60 kB / 279.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.006253, allocations: 119.6 kB / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.006369, allocations: 163.6 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.00671, allocations: 402.6 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006712, allocations: 0 / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.006713, allocations: 4 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.006718, allocations: 0 / 280.4 MB, free: 13.98 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.0009024/0.007621, allocations: 0.8038 MB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.007657, allocations: 12.03 kB / 281.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.007834, allocations: 84.61 kB / 281.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.008112, allocations: 263.3 kB / 281.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.008143, allocations: 25.38 kB / 281.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.008193, allocations: 48.31 kB / 281.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.008671, allocations: 0.5139 MB / 282.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.008683, allocations: 192 / 282.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.00871, allocations: 16.38 kB / 282.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.008721, allocations: 11.94 kB / 282.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.008975, allocations: 178.8 kB / 282.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.0108, allocations: 1.166 MB / 283.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.01128, allocations: 240.2 kB / 283.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.0114, allocations: 112.2 kB / 283.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.01144, allocations: 8.328 kB / 283.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.01146, allocations: 41.66 kB / 283.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 4.739e-06/0.01147, allocations: 11.98 kB / 283.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001826/0.01329, allocations: 0.7946 MB / 284.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.01336, allocations: 162.2 kB / 284.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.01358, allocations: 306.2 kB / 285.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.01362, allocations: 33.7 kB / 285.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.01379, allocations: 263.4 kB / 285.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.0139, allocations: 142.7 kB / 285.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.014, allocations: 87.77 kB / 285.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.01415, allocations: 0.5195 MB / 286.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.01425, allocations: 60.95 kB / 286.3 MB, free: 7.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.01481, allocations: 295.9 kB / 286.6 MB, free: 7.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.01506, allocations: 229.3 kB / 286.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01506, allocations: 7.938 kB / 286.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006027/0.01566, allocations: 420.2 kB / 287.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.01568, allocations: 4 kB / 287.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01569, allocations: 4.219 kB / 287.2 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.01631, allocations: 247.1 kB / 287.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.01647, allocations: 71.83 kB / 287.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008665/0.01734, allocations: 1.736 MB / 289.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.01752, allocations: 51.83 kB / 289.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.01754, allocations: 15.92 kB / 289.3 MB, free: 4.547 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.0001232/0.01767, allocations: 180.5 kB / 289.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.01773, allocations: 47.77 kB / 289.5 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/0.01842, allocations: 459.1 kB / 290 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01843, allocations: 4 kB / 290 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01843, allocations: 0 / 290 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.01844, allocations: 4 kB / 290 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.01871, allocations: 264.6 kB / 290.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01871, allocations: 0 / 290.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.01885, allocations: 55.95 kB / 290.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.01936, allocations: 247 kB / 290.6 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.01938, allocations: 8 kB / 290.6 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007321/0.02012, allocations: 1.74 MB / 292.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.02012, allocations: 0 / 292.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/0.02095, allocations: 0.6584 MB / 293 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.02099, allocations: 35.7 kB / 293 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.02103, allocations: 11.94 kB / 293 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.02116, allocations: 27.97 kB / 293 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.02121, allocations: 23.95 kB / 293.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.02122, allocations: 7.984 kB / 293.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.156e-05/0.02131, allocations: 203 kB / 293.3 MB, free: 456 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02131, allocations: 4.031 kB / 293.3 MB, free: 452 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.02159, allocations: 115.8 kB / 293.4 MB, free: 336 kB / 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.0001349/0.02173, allocations: 111.1 kB / 293.5 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006844/0.02241, allocations: 258.7 kB / 293.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02242, allocations: 4.125 kB / 293.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.02258, allocations: 155.6 kB / 293.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.02284, allocations: 50.53 kB / 293.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.02393, allocations: 0.752 MB / 294.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.02399, allocations: 101.1 kB / 294.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.768e-05/0.02407, allocations: 26.98 kB / 294.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.02421, allocations: 130.2 kB / 294.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02421, allocations: 4 kB / 295 MB, free: 14.69 MB / 282.7 MB Notification: Performance of Templates: time 0.007604/0.03181, allocations: 5.429 MB / 300.4 MB, free: 9.332 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.923746461980045]