Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 85.39 kB / 21.44 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 163.9 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.164e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004911/0.004942, allocations: 2.859 MB / 301.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.006655, allocations: 0.8003 MB / 302.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.006819, allocations: 8 kB / 302.6 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.007025, allocations: 55.38 kB / 302.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.007263, allocations: 126.8 kB / 302.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.007674, allocations: 143.7 kB / 302.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005984/0.008272, allocations: 0.5577 MB / 303.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.008568, allocations: 120.8 kB / 303.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.009032, allocations: 311.4 kB / 303.9 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.009342, allocations: 195.5 kB / 304.1 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.009429, allocations: 52 kB / 304.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.009564, allocations: 52 kB / 304.2 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.009703, allocations: 115.6 kB / 304.3 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.009918, allocations: 171.6 kB / 304.5 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007852/0.0107, allocations: 0.5803 MB / 305.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.01071, allocations: 0 / 305.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.01071, allocations: 0 / 305.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.01072, allocations: 7.938 kB / 305.1 MB, free: 2.551 MB / 286.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.001853/0.01258, allocations: 0.7235 MB / 305.8 MB, free: 1.797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.367e-05/0.01265, allocations: 15.98 kB / 305.8 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.01277, allocations: 48.66 kB / 305.9 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.01329, allocations: 256.5 kB / 306.1 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.01333, allocations: 29.38 kB / 306.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.01341, allocations: 36.38 kB / 306.2 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.01464, allocations: 0.6478 MB / 306.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.01466, allocations: 192 / 306.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.01471, allocations: 20.38 kB / 306.8 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.01473, allocations: 15.94 kB / 306.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.01611, allocations: 0.4957 MB / 307.4 MB, free: 160 kB / 286.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.002555/0.01866, allocations: 1.186 MB / 308.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.01986, allocations: 402.2 kB / 308.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005354/0.0204, allocations: 221.4 kB / 309.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.02044, allocations: 12.31 kB / 309.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/0.0205, allocations: 42.89 kB / 309.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.783e-06/0.0205, allocations: 0 / 309.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005007/0.02551, allocations: 1.2 MB / 310.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.02563, allocations: 162.2 kB / 310.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.02597, allocations: 261.8 kB / 310.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.02602, allocations: 37.7 kB / 310.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.02618, allocations: 212.7 kB / 311.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.02631, allocations: 138.8 kB / 311.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.02645, allocations: 78.14 kB / 311.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.02663, allocations: 338.8 kB / 311.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.02716, allocations: 188.9 kB / 311.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.02781, allocations: 385.9 kB / 312.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.02886, allocations: 426.6 kB / 312.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02886, allocations: 0 / 312.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001882/0.03074, allocations: 0.6665 MB / 313.3 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.03076, allocations: 8.062 kB / 313.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.03077, allocations: 4 kB / 313.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.03214, allocations: 321.3 kB / 313.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.03251, allocations: 79.81 kB / 313.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.03394, allocations: 1.347 MB / 315 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.03441, allocations: 75.73 kB / 315.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.03445, allocations: 20.06 kB / 315.1 MB, free: 8.102 MB / 302.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.0002223/0.03467, allocations: 161.7 kB / 315.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.03475, allocations: 39.77 kB / 315.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.03697, allocations: 0.7196 MB / 316 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.03698, allocations: 8 kB / 316 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.03698, allocations: 0 / 316 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.03699, allocations: 0 / 316 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.03746, allocations: 317 kB / 316.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.03747, allocations: 11.92 kB / 316.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.03776, allocations: 59.89 kB / 316.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.03894, allocations: 313.4 kB / 316.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.03898, allocations: 12 kB / 316.7 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.04043, allocations: 1.362 MB / 318.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.04043, allocations: 0 / 318.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.0431, allocations: 1.016 MB / 319.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.04316, allocations: 35.66 kB / 319.1 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.04323, allocations: 16.03 kB / 319.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.04361, allocations: 52 kB / 319.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.0437, allocations: 23.95 kB / 319.2 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.04373, allocations: 15.98 kB / 319.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.04397, allocations: 181.2 kB / 319.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04397, allocations: 0 / 319.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000455/0.04442, allocations: 111.8 kB / 319.5 MB, free: 3.543 MB / 302.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.0001857/0.04461, allocations: 111.5 kB / 319.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.04594, allocations: 455.4 kB / 320.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.04595, allocations: 192 / 320.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.04657, allocations: 243.8 kB / 320.3 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.04695, allocations: 48.72 kB / 320.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.04862, allocations: 0.8032 MB / 321.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.0488, allocations: 194.9 kB / 321.4 MB, free: 1.652 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.04893, allocations: 34.97 kB / 321.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.049, allocations: 24.48 kB / 321.4 MB, free: 1.594 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.04901, allocations: 0 / 321.4 MB, free: 1.594 MB / 302.1 MB Notification: Performance of Templates: time 0.1566/0.2056, allocations: 4.938 MB / 326.4 MB, free: 34.61 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.334930382668972]