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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 181.2 kB / 24.46 MB, free: 4.059 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.48/1.48, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 51.92 kB / 347.7 MB, free: 9.57 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 49.15 MB / 396.8 MB, free: 9.531 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005651/0.3556, allocations: 3.13 MB / 399.9 MB, free: 7.32 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002414/0.358, allocations: 0.8399 MB / 400.8 MB, free: 6.707 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.3582, allocations: 5.969 kB / 400.8 MB, free: 6.707 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.3585, allocations: 61.2 kB / 400.8 MB, free: 6.668 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.3587, allocations: 120 kB / 401 MB, free: 6.578 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.3592, allocations: 141.5 kB / 401.1 MB, free: 6.5 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005681/0.3597, allocations: 0.5328 MB / 401.6 MB, free: 6.234 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.36, allocations: 120.5 kB / 401.7 MB, free: 6.168 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.3604, allocations: 226.9 kB / 402 MB, free: 6.059 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.3608, allocations: 257.9 kB / 402.2 MB, free: 5.93 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.89e-05/0.3609, allocations: 50.09 kB / 402.3 MB, free: 5.93 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.361, allocations: 59.45 kB / 402.3 MB, free: 5.926 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3611, allocations: 109.1 kB / 402.4 MB, free: 5.852 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.3614, allocations: 237.3 kB / 402.7 MB, free: 5.707 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008127/0.3622, allocations: 0.5551 MB / 403.2 MB, free: 5.484 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3622, allocations: 0.9688 kB / 403.2 MB, free: 5.484 MB / 318.1 MB
Notification: Performance of FrontEnd: time 2.455e-06/0.3622, allocations: 0 / 403.2 MB, free: 5.484 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 9.758e-06/0.3622, allocations: 4 kB / 403.2 MB, free: 5.48 MB / 318.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.001772/0.364, allocations: 0.7265 MB / 404 MB, free: 5 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.364, allocations: 12.83 kB / 404 MB, free: 4.996 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.3642, allocations: 48.66 kB / 404 MB, free: 4.973 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.3646, allocations: 251.8 kB / 404.3 MB, free: 4.758 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.3647, allocations: 28.72 kB / 404.3 MB, free: 4.746 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.3648, allocations: 36.97 kB / 404.3 MB, free: 4.734 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.366, allocations: 0.5048 MB / 404.8 MB, free: 4.512 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.366, allocations: 0 / 404.8 MB, free: 4.512 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.366, allocations: 16.16 kB / 404.8 MB, free: 4.5 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.366, allocations: 8.875 kB / 404.9 MB, free: 4.5 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.3675, allocations: 0.4986 MB / 405.4 MB, free: 4.363 MB / 318.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.003115/0.3706, allocations: 1.624 MB / 407 MB, free: 3.207 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.3719, allocations: 399.7 kB / 407.4 MB, free: 3.07 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.3725, allocations: 224 kB / 407.6 MB, free: 2.992 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/0.3725, allocations: 15.91 kB / 407.6 MB, free: 2.984 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3726, allocations: 38.17 kB / 407.6 MB, free: 2.941 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.3726, allocations: 0 / 407.6 MB, free: 2.941 MB / 318.1 MB
Notification: Performance of matching and sorting (n=40): time 0.004854/0.3774, allocations: 1.215 MB / 408.9 MB, free: 2.562 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3775, allocations: 159.3 kB / 409 MB, free: 2.375 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.3778, allocations: 263 kB / 409.3 MB, free: 2.191 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.3778, allocations: 32.55 kB / 409.3 MB, free: 2.156 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3779, allocations: 210.9 kB / 409.5 MB, free: 1.965 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.378, allocations: 143.4 kB / 409.6 MB, free: 1.84 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3781, allocations: 80.47 kB / 409.7 MB, free: 1.785 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 6.789e-05/0.3782, allocations: 345 kB / 410.1 MB, free: 1.445 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.3786, allocations: 186.2 kB / 410.2 MB, free: 1.359 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.3791, allocations: 280.1 kB / 410.5 MB, free: 1.156 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.38, allocations: 422.2 kB / 410.9 MB, free: 0.9141 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.38, allocations: 1.406 kB / 410.9 MB, free: 0.9141 MB / 318.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.00167/0.3817, allocations: 0.6771 MB / 411.6 MB, free: 0.5547 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3817, allocations: 5.625 kB / 411.6 MB, free: 0.5547 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3817, allocations: 2.406 kB / 411.6 MB, free: 0.5547 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.3831, allocations: 319.2 kB / 411.9 MB, free: 420 kB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.3835, allocations: 80.62 kB / 412 MB, free: 396 kB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.3849, allocations: 1.345 MB / 413.3 MB, free: 15.17 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.3854, allocations: 87.48 kB / 413.4 MB, free: 15.11 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3855, allocations: 15.53 kB / 413.4 MB, free: 15.11 MB / 334.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.0002905/0.3858, allocations: 157.6 kB / 413.6 MB, free: 14.96 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3859, allocations: 36.22 kB / 413.6 MB, free: 14.95 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.3884, allocations: 0.7239 MB / 414.4 MB, free: 14.54 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.3884, allocations: 8.125 kB / 414.4 MB, free: 14.53 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3884, allocations: 0 / 414.4 MB, free: 14.53 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3884, allocations: 5.172 kB / 414.4 MB, free: 14.53 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.3891, allocations: 442.6 kB / 414.8 MB, free: 14.16 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3891, allocations: 192 / 414.8 MB, free: 14.16 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.3894, allocations: 54.33 kB / 414.9 MB, free: 14.15 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.3907, allocations: 330 kB / 415.2 MB, free: 13.99 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.3907, allocations: 11.25 kB / 415.2 MB, free: 13.98 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.3921, allocations: 1.359 MB / 416.6 MB, free: 12.76 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3921, allocations: 3.938 kB / 416.6 MB, free: 12.76 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.3947, allocations: 1.006 MB / 417.6 MB, free: 12.18 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.3948, allocations: 34.45 kB / 417.6 MB, free: 12.16 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.3949, allocations: 10.44 kB / 417.6 MB, free: 12.15 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.3952, allocations: 42.86 kB / 417.6 MB, free: 12.13 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.3953, allocations: 28.28 kB / 417.7 MB, free: 12.11 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.3953, allocations: 12.17 kB / 417.7 MB, free: 12.11 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002649/0.3956, allocations: 188.7 kB / 417.9 MB, free: 11.98 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3956, allocations: 0 / 417.9 MB, free: 11.98 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0004778/0.3961, allocations: 121.7 kB / 418 MB, free: 11.94 MB / 334.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.0002028/0.3963, allocations: 117.4 kB / 418.1 MB, free: 11.83 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.001331/0.3976, allocations: 449 kB / 418.5 MB, free: 11.64 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3976, allocations: 0 / 418.5 MB, free: 11.64 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.3983, allocations: 244.9 kB / 418.8 MB, free: 11.54 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3987, allocations: 46.67 kB / 418.8 MB, free: 11.51 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.4004, allocations: 0.8749 MB / 419.7 MB, free: 10.93 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4009, allocations: 0.7946 MB / 420.5 MB, free: 10.18 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001438/0.401, allocations: 29.03 kB / 420.5 MB, free: 10.17 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.4011, allocations: 25.06 kB / 420.6 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of SimCode: time 6.31e-07/0.4011, allocations: 1.281 kB / 420.6 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of Templates: time 0.01291/0.414, allocations: 6.335 MB / 426.9 MB, free: 4.695 MB / 334.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.77207706682384]