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.001476/0.001476, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001523/0.001523, allocations: 210.5 kB / 24.48 MB, free: 3.934 MB / 14.72 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.479/1.479, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00191/0.00191, allocations: 67.89 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2557, allocations: 53.4 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004692/0.2603, allocations: 2.922 MB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.2621, allocations: 0.8156 MB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.2623, allocations: 7.938 kB / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.2625, allocations: 67.36 kB / 436.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.2628, allocations: 114.9 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.2632, allocations: 159.7 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.2639, allocations: 0.5501 MB / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.2641, allocations: 116.4 kB / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.2645, allocations: 231.3 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.2649, allocations: 219 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.265, allocations: 55.94 kB / 437.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.2651, allocations: 59.94 kB / 437.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2652, allocations: 115.6 kB / 437.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.2655, allocations: 199.1 kB / 438 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006635/0.2661, allocations: 0.5594 MB / 438.6 MB, free: 376 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2661, allocations: 8 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2661, allocations: 0 / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.2662, allocations: 0 / 438.6 MB, free: 368 kB / 334.1 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.001709/0.2679, allocations: 0.7313 MB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2679, allocations: 11.98 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.2681, allocations: 68.59 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.2687, allocations: 265.1 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.2687, allocations: 29.38 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.2688, allocations: 36.38 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.27, allocations: 0.6593 MB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.27, allocations: 3.938 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.2701, allocations: 16 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2701, allocations: 11.94 kB / 440.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.2714, allocations: 0.4918 MB / 440.9 MB, free: 13.93 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.2741, allocations: 1.193 MB / 442.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2752, allocations: 402.7 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.2757, allocations: 216.8 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.2758, allocations: 12.33 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.2758, allocations: 42.88 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.2758, allocations: 0 / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004922/0.2807, allocations: 1.207 MB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.2808, allocations: 158.2 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.2812, allocations: 272.1 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.2812, allocations: 33.7 kB / 444.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.2814, allocations: 216.7 kB / 444.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.2815, allocations: 142.7 kB / 444.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.2817, allocations: 78.08 kB / 444.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2818, allocations: 346.8 kB / 445.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.2824, allocations: 180.8 kB / 445.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.2831, allocations: 385.3 kB / 445.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.2841, allocations: 430.6 kB / 446.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2841, allocations: 0 / 446.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001924/0.286, allocations: 0.6627 MB / 446.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2861, allocations: 15.92 kB / 446.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2861, allocations: 3.938 kB / 446.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.2874, allocations: 317.4 kB / 447.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.2878, allocations: 83.88 kB / 447.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.2892, allocations: 1.347 MB / 448.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.2897, allocations: 75.88 kB / 448.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.2897, allocations: 15.98 kB / 448.6 MB, free: 5.852 MB / 350.1 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.0002083/0.2899, allocations: 157.8 kB / 448.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.29, allocations: 35.77 kB / 448.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.2922, allocations: 0.7162 MB / 449.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.2922, allocations: 8 kB / 449.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2922, allocations: 3.938 kB / 449.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.2922, allocations: 3.984 kB / 449.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.2927, allocations: 325 kB / 449.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2927, allocations: 0 / 449.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.293, allocations: 63.88 kB / 449.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.2942, allocations: 325.3 kB / 450.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.2943, allocations: 12 kB / 450.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.2957, allocations: 1.354 MB / 451.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2957, allocations: 0 / 451.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.2984, allocations: 1.023 MB / 452.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.2984, allocations: 31.73 kB / 452.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.2985, allocations: 8 kB / 452.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.2989, allocations: 47.94 kB / 452.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.2989, allocations: 35.7 kB / 452.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.299, allocations: 8.188 kB / 452.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.2992, allocations: 195.1 kB / 453 MB, free: 1.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2992, allocations: 8 kB / 453 MB, free: 1.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.2997, allocations: 111.8 kB / 453.1 MB, free: 1.27 MB / 350.1 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.0001627/0.2998, allocations: 99.25 kB / 453.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3011, allocations: 459.4 kB / 453.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3011, allocations: 0 / 453.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.3018, allocations: 244.4 kB / 453.9 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3021, allocations: 40.58 kB / 453.9 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.304, allocations: 0.9142 MB / 454.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3042, allocations: 202.9 kB / 455 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.3043, allocations: 35.36 kB / 455.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3043, allocations: 0 / 455.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Templates: time 0.01088/0.3151, allocations: 7.322 MB / 462.4 MB, free: 7.914 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.698816016316414]