Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001809/0.001809, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.00167/0.00167, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.5 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.89 kB / 374.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1106, allocations: 53.31 MB / 428.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004728/0.1154, allocations: 3.176 MB / 431.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1171, allocations: 0.8468 MB / 432.1 MB, free: 280 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1172, allocations: 8 kB / 432.1 MB, free: 272 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1175, allocations: 63.31 kB / 432.2 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1177, allocations: 118.9 kB / 432.3 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2078/0.3255, allocations: 154 kB / 432.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.3263, allocations: 0.5409 MB / 433 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.3265, allocations: 122 kB / 433.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.3269, allocations: 231.6 kB / 433.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.3272, allocations: 254.8 kB / 433.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.802e-05/0.3273, allocations: 51.12 kB / 433.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3274, allocations: 62.23 kB / 433.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.3275, allocations: 116.7 kB / 433.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3277, allocations: 239.9 kB / 434 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.3282, allocations: 0.5555 MB / 434.6 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3282, allocations: 1.188 kB / 434.6 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3282, allocations: 1.906 kB / 434.6 MB, free: 8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3282, allocations: 0 / 434.6 MB, free: 8 MB / 350.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.00145/0.3296, allocations: 0.8113 MB / 435.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3297, allocations: 10.72 kB / 435.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.3299, allocations: 60.98 kB / 435.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.3303, allocations: 318 kB / 435.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.3303, allocations: 35.28 kB / 435.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.3304, allocations: 34.16 kB / 435.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3314, allocations: 0.5001 MB / 436.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.3314, allocations: 3.938 kB / 436.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.3314, allocations: 20.09 kB / 436.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3314, allocations: 8.75 kB / 436.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.3328, allocations: 0.5011 MB / 436.9 MB, free: 7.133 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.002445/0.3352, allocations: 1.669 MB / 438.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3363, allocations: 402.4 kB / 438.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.3368, allocations: 216.5 kB / 439.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.3369, allocations: 12.98 kB / 439.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3369, allocations: 41.52 kB / 439.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.3369, allocations: 4 kB / 439.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004906/0.3418, allocations: 1.353 MB / 440.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3419, allocations: 164.5 kB / 440.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.3422, allocations: 270.2 kB / 441 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.3422, allocations: 36.77 kB / 441 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3423, allocations: 216.3 kB / 441.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.3424, allocations: 141.9 kB / 441.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3426, allocations: 74.53 kB / 441.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.3426, allocations: 345.4 kB / 441.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.3431, allocations: 183.5 kB / 442 MB, free: 4.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.3437, allocations: 282.9 kB / 442.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.3446, allocations: 424.1 kB / 442.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3446, allocations: 4.594 kB / 442.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001908/0.3465, allocations: 0.6706 MB / 443.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3465, allocations: 14.09 kB / 443.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3465, allocations: 5.094 kB / 443.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.3479, allocations: 313.6 kB / 443.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.3482, allocations: 85.03 kB / 443.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.3492, allocations: 1.348 MB / 445.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.3497, allocations: 82.16 kB / 445.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.3497, allocations: 11.7 kB / 445.2 MB, free: 2.613 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.0001786/0.3499, allocations: 158.7 kB / 445.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.35, allocations: 37.36 kB / 445.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.3521, allocations: 0.7228 MB / 446.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3521, allocations: 4.5 kB / 446.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3521, allocations: 0 / 446.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.3521, allocations: 3.578 kB / 446.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.3526, allocations: 473.3 kB / 446.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3526, allocations: 1.625 kB / 446.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.3529, allocations: 62.64 kB / 446.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.3541, allocations: 317.3 kB / 446.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.3541, allocations: 10.25 kB / 446.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009455/0.355, allocations: 1.36 MB / 448.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3551, allocations: 1.438 kB / 448.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.3575, allocations: 1.018 MB / 449.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.3576, allocations: 112.7 kB / 449.4 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.3576, allocations: 11.02 kB / 449.4 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.358, allocations: 48.5 kB / 449.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.3581, allocations: 27.34 kB / 449.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.3581, allocations: 13.66 kB / 449.5 MB, free: 68 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.3584, allocations: 196.2 kB / 449.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 449.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.3589, allocations: 113.4 kB / 449.8 MB, free: 15.93 MB / 366.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.0001838/0.359, allocations: 116.5 kB / 449.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.3604, allocations: 454.2 kB / 450.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3604, allocations: 5.312 kB / 450.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.361, allocations: 240.6 kB / 450.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3614, allocations: 44.89 kB / 450.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.3632, allocations: 0.9148 MB / 451.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.3637, allocations: 0.7965 MB / 452.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.3638, allocations: 24.03 kB / 452.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3638, allocations: 7.938 kB / 452.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Templates: time 0.01062/0.3744, allocations: 7.234 MB / 459.6 MB, free: 11.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.582949497969821]