Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.001831/0.001831, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00227/0.00227, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply")
translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [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.002023/0.002023, allocations: 60.77 kB / 379 MB, free: 2.66 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2672, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003342/0.2705, allocations: 2.059 MB / 434.5 MB, free: 4.891 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001041/0.2716, allocations: 0.5921 MB / 435.1 MB, free: 4.293 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.2717, allocations: 4 kB / 435.1 MB, free: 4.289 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2718, allocations: 19.8 kB / 435.1 MB, free: 4.27 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.549e-05/0.2719, allocations: 43.62 kB / 435.1 MB, free: 4.227 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2721, allocations: 63.92 kB / 435.2 MB, free: 4.164 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002857/0.2724, allocations: 211.3 kB / 435.4 MB, free: 3.957 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2725, allocations: 37.23 kB / 435.4 MB, free: 3.918 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2727, allocations: 87.7 kB / 435.5 MB, free: 3.832 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2729, allocations: 83.72 kB / 435.6 MB, free: 3.75 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.2729, allocations: 24 kB / 435.6 MB, free: 3.727 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.273, allocations: 20 kB / 435.7 MB, free: 3.707 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.273, allocations: 35.89 kB / 435.7 MB, free: 3.672 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.873e-05/0.2731, allocations: 79.66 kB / 435.8 MB, free: 3.594 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.2734, allocations: 189 kB / 435.9 MB, free: 3.414 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2734, allocations: 0 / 435.9 MB, free: 3.414 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.273e-06/0.2734, allocations: 3.938 kB / 436 MB, free: 3.41 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.62e-06/0.2734, allocations: 0 / 436 MB, free: 3.41 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 24
 * Number of variables: 24
Notification: Performance of Generate backend data structure: time 0.0007781/0.2741, allocations: 423.3 kB / 436.4 MB, free: 2.961 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2742, allocations: 8.031 kB / 436.4 MB, free: 2.953 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.2743, allocations: 20.84 kB / 436.4 MB, free: 2.934 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.2746, allocations: 154.4 kB / 436.5 MB, free: 2.758 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/0.2747, allocations: 93.67 kB / 436.6 MB, free: 2.648 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.2747, allocations: 16.36 kB / 436.7 MB, free: 2.633 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.275, allocations: 133.7 kB / 436.8 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.275, allocations: 0 / 436.8 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.2751, allocations: 7.984 kB / 436.8 MB, free: 2.488 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2751, allocations: 4 kB / 436.8 MB, free: 2.484 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.2754, allocations: 107.8 kB / 436.9 MB, free: 2.379 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008877/0.2763, allocations: 486.4 kB / 437.4 MB, free: 1.855 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.2766, allocations: 114.6 kB / 437.5 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.2767, allocations: 40.84 kB / 437.5 MB, free: 1.691 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.2768, allocations: 7.984 kB / 437.5 MB, free: 1.684 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2768, allocations: 38.5 kB / 437.6 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2768, allocations: 0 / 437.6 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0008601/0.2777, allocations: 218.3 kB / 437.8 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2777, allocations: 55.39 kB / 437.8 MB, free: 1.348 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2779, allocations: 151.9 kB / 438 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2779, allocations: 29.7 kB / 438 MB, free: 1.148 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.278, allocations: 116 kB / 438.1 MB, free: 1.031 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.278, allocations: 31.73 kB / 438.2 MB, free: 1 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2781, allocations: 33.7 kB / 438.2 MB, free: 0.9609 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000146/0.2783, allocations: 322.8 kB / 438.5 MB, free: 0.6367 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.2785, allocations: 55.97 kB / 438.6 MB, free: 0.582 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.2786, allocations: 90.48 kB / 438.7 MB, free: 496 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.2789, allocations: 140.3 kB / 438.8 MB, free: 340 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.279, allocations: 0 / 438.8 MB, free: 340 kB / 334.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006597/0.2796, allocations: 276.2 kB / 439.1 MB, free: 48 kB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.2797, allocations: 37.69 kB / 439.1 MB, free: 4 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2797, allocations: 0 / 439.1 MB, free: 4 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.28, allocations: 80.97 kB / 439.2 MB, free: 15.92 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.2801, allocations: 19.92 kB / 439.2 MB, free: 15.9 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.2821, allocations: 1.514 MB / 440.7 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.2824, allocations: 48.05 kB / 440.8 MB, free: 14.22 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.2824, allocations: 8 kB / 440.8 MB, free: 14.21 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 1 system
   {(1,4)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.2826, allocations: 125.8 kB / 440.9 MB, free: 14.08 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2826, allocations: 15.84 kB / 440.9 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.283, allocations: 163.1 kB / 441.1 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.283, allocations: 4 kB / 441.1 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.283, allocations: 3.938 kB / 441.1 MB, free: 13.89 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.283, allocations: 0 / 441.1 MB, free: 13.89 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.2833, allocations: 192.6 kB / 441.3 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2833, allocations: 0 / 441.3 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.2834, allocations: 11.98 kB / 441.3 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.2835, allocations: 76.8 kB / 441.3 MB, free: 13.57 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2835, allocations: 11.94 kB / 441.4 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.2851, allocations: 1.506 MB / 442.9 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2851, allocations: 0 / 442.9 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.2855, allocations: 248.2 kB / 443.1 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.2855, allocations: 19.97 kB / 443.1 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2856, allocations: 0 / 443.1 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2857, allocations: 11.98 kB / 443.1 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.2858, allocations: 15.97 kB / 443.2 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2858, allocations: 4.188 kB / 443.2 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.477e-05/0.2859, allocations: 110.2 kB / 443.3 MB, free: 11.52 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2859, allocations: 3.938 kB / 443.3 MB, free: 11.51 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002927/0.2862, allocations: 47.94 kB / 443.3 MB, free: 11.46 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (5):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 1 system
   {(1,4)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.2863, allocations: 103.2 kB / 443.4 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006839/0.287, allocations: 309.8 kB / 443.7 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.287, allocations: 0 / 443.7 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.2873, allocations: 170.6 kB / 443.9 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2876, allocations: 26.61 kB / 443.9 MB, free: 10.82 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.2883, allocations: 287.3 kB / 444.2 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.2886, allocations: 0.7123 MB / 444.9 MB, free: 9.785 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 5.282e-05/0.2887, allocations: 4.5 kB / 444.9 MB, free: 9.781 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.2887, allocations: 11.44 kB / 444.9 MB, free: 9.77 MB / 350.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.2887, allocations: 0 / 444.9 MB, free: 9.77 MB / 350.1 MB
Notification: Performance of Templates: time 0.007117/0.2959, allocations: 3.042 MB / 448 MB, free: 6.762 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.640950725413859]