Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001719/0.001719, allocations: 120.5 kB / 17.79 MB, free: 5.133 MB / 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.001899/0.001899, allocations: 215.2 kB / 20.75 MB, free: 2.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.685/1.685, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+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_4.1.0_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_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 43.94 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1259, allocations: 53.33 MB / 426.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005519/0.1314, allocations: 3.175 MB / 430 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1332, allocations: 0.8547 MB / 430.8 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1333, allocations: 8 kB / 430.8 MB, free: 240 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.1336, allocations: 63.31 kB / 430.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1338, allocations: 114.9 kB / 431 MB, free: 60 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2573/0.3911, allocations: 151 kB / 431.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009512/0.3921, allocations: 0.5483 MB / 431.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.3924, allocations: 123.5 kB / 431.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.3928, allocations: 232.5 kB / 432.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.3931, allocations: 256.9 kB / 432.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.3931, allocations: 52.59 kB / 432.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3933, allocations: 61.53 kB / 432.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.3934, allocations: 111.6 kB / 432.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.3936, allocations: 238.1 kB / 432.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.3941, allocations: 0.5605 MB / 433.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3941, allocations: 0 / 433.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3941, allocations: 2.844 kB / 433.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3941, allocations: 1.031 kB / 433.3 MB, free: 7.969 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.0015/0.3956, allocations: 0.8066 MB / 434.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3957, allocations: 12.36 kB / 434.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.3959, allocations: 63.12 kB / 434.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.3963, allocations: 321 kB / 434.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.3963, allocations: 27.06 kB / 434.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.3964, allocations: 35.69 kB / 434.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3975, allocations: 0.503 MB / 435.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3975, allocations: 4.734 kB / 435.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.3976, allocations: 18.75 kB / 435.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3976, allocations: 8.438 kB / 435.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.399, allocations: 0.5012 MB / 435.6 MB, free: 7.105 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.002625/0.4016, allocations: 1.668 MB / 437.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.4028, allocations: 401.4 kB / 437.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.4034, allocations: 222 kB / 437.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.4034, allocations: 9 kB / 437.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.4034, allocations: 41.73 kB / 437.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.463e-06/0.4034, allocations: 0 / 437.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005078/0.4085, allocations: 1.354 MB / 439.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.4086, allocations: 162.4 kB / 439.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.409, allocations: 274.7 kB / 439.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.409, allocations: 35.89 kB / 439.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.4091, allocations: 213.3 kB / 440 MB, free: 4.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/0.4092, allocations: 148 kB / 440.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.4094, allocations: 74.28 kB / 440.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.4094, allocations: 341.5 kB / 440.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/0.41, allocations: 186.6 kB / 440.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.4106, allocations: 280.5 kB / 441 MB, free: 4.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.4116, allocations: 424.6 kB / 441.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4116, allocations: 0.5 kB / 441.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002066/0.4137, allocations: 0.677 MB / 442.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.4137, allocations: 9.938 kB / 442.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4137, allocations: 2.766 kB / 442.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.4152, allocations: 318.2 kB / 442.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.4156, allocations: 85.66 kB / 442.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.4167, allocations: 1.348 MB / 443.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.4172, allocations: 78.03 kB / 443.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.4172, allocations: 15.88 kB / 443.9 MB, free: 2.562 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.0002018/0.4175, allocations: 155.2 kB / 444.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.4175, allocations: 41.31 kB / 444.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.4197, allocations: 0.718 MB / 444.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.4197, allocations: 4.594 kB / 444.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4197, allocations: 0.6562 kB / 444.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4198, allocations: 1.688 kB / 444.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.4204, allocations: 481.2 kB / 445.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4204, allocations: 2.719 kB / 445.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.4206, allocations: 56.69 kB / 445.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.4219, allocations: 322 kB / 445.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.4219, allocations: 7.375 kB / 445.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.4229, allocations: 1.365 MB / 447.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.423, allocations: 1.188 kB / 447.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.4255, allocations: 1.012 MB / 448.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.4256, allocations: 111.6 kB / 448.2 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.4256, allocations: 11.2 kB / 448.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.426, allocations: 41.7 kB / 448.2 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.4261, allocations: 31.47 kB / 448.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.4261, allocations: 13.23 kB / 448.3 MB, free: 20 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003151/0.4264, allocations: 191.6 kB / 448.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4264, allocations: 2 kB / 448.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005509/0.427, allocations: 113.4 kB / 448.6 MB, free: 15.89 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.0002163/0.4272, allocations: 120.3 kB / 448.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.4286, allocations: 464.8 kB / 449.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4286, allocations: 0 / 449.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.4293, allocations: 242 kB / 449.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.4297, allocations: 46.7 kB / 449.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4316, allocations: 0.8831 MB / 450.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.4321, allocations: 0.7952 MB / 451.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.4322, allocations: 32.59 kB / 451.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.4323, allocations: 31.75 kB / 451.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4323, allocations: 0 / 451.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of Templates: time 0.01264/0.445, allocations: 6.023 MB / 457.2 MB, free: 12.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.342817973345518]