Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001792/0.001792, allocations: 105.1 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.002132/0.002132, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2745, allocations: 53.37 MB / 432.1 MB, free: 7.066 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003728/0.2782, allocations: 2.074 MB / 434.2 MB, free: 4.988 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001026/0.2792, allocations: 0.5805 MB / 434.8 MB, free: 4.402 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.2793, allocations: 4 kB / 434.8 MB, free: 4.398 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.2795, allocations: 15.8 kB / 434.8 MB, free: 4.383 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.503e-05/0.2796, allocations: 43.62 kB / 434.9 MB, free: 4.34 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.2798, allocations: 71.84 kB / 434.9 MB, free: 4.27 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002829/0.2801, allocations: 211.4 kB / 435.1 MB, free: 4.062 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2803, allocations: 33.25 kB / 435.2 MB, free: 4.027 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2804, allocations: 83.7 kB / 435.2 MB, free: 3.945 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2806, allocations: 95.64 kB / 435.3 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.2806, allocations: 20 kB / 435.4 MB, free: 3.832 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.2807, allocations: 20 kB / 435.4 MB, free: 3.812 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.2807, allocations: 31.91 kB / 435.4 MB, free: 3.781 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.2808, allocations: 79.66 kB / 435.5 MB, free: 3.703 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.2811, allocations: 192.9 kB / 435.7 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2811, allocations: 0 / 435.7 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.192e-06/0.2811, allocations: 4 kB / 435.7 MB, free: 3.516 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.493e-06/0.2811, allocations: 4 kB / 435.7 MB, free: 3.512 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.0007696/0.2819, allocations: 411.4 kB / 436.1 MB, free: 3.074 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2819, allocations: 12.03 kB / 436.1 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.2821, allocations: 20.84 kB / 436.1 MB, free: 3.043 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.2823, allocations: 153.1 kB / 436.3 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.644e-05/0.2824, allocations: 93.67 kB / 436.4 MB, free: 2.762 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.2825, allocations: 24.3 kB / 436.4 MB, free: 2.738 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.2828, allocations: 128.8 kB / 436.5 MB, free: 2.609 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2828, allocations: 0 / 436.5 MB, free: 2.609 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.2828, allocations: 0 / 436.5 MB, free: 2.609 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.2828, allocations: 4 kB / 436.5 MB, free: 2.605 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.2832, allocations: 111.8 kB / 436.6 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.2841, allocations: 494.3 kB / 437.1 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.2845, allocations: 106.7 kB / 437.2 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2846, allocations: 52.83 kB / 437.3 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.2847, allocations: 0 / 437.3 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.2847, allocations: 38.5 kB / 437.3 MB, free: 1.75 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.2847, allocations: 0 / 437.3 MB, free: 1.75 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0009072/0.2856, allocations: 222.3 kB / 437.5 MB, free: 1.523 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2857, allocations: 51.41 kB / 437.6 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2858, allocations: 150 kB / 437.7 MB, free: 1.301 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.2859, allocations: 29.7 kB / 437.7 MB, free: 1.266 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.2859, allocations: 116 kB / 437.8 MB, free: 1.148 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.286, allocations: 32.11 kB / 437.9 MB, free: 1.117 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.2861, allocations: 37.7 kB / 437.9 MB, free: 1.074 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001589/0.2862, allocations: 322.8 kB / 438.2 MB, free: 0.75 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.2864, allocations: 67.91 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.2866, allocations: 82.47 kB / 438.4 MB, free: 0.5938 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.2869, allocations: 144.2 kB / 438.5 MB, free: 448 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2869, allocations: 4 kB / 438.5 MB, free: 444 kB / 334.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006872/0.2876, allocations: 267.8 kB / 438.8 MB, free: 160 kB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.2877, allocations: 41.69 kB / 438.8 MB, free: 112 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2877, allocations: 0 / 438.8 MB, free: 112 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/0.2879, allocations: 68.89 kB / 438.9 MB, free: 40 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.288, allocations: 15.98 kB / 438.9 MB, free: 24 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.2899, allocations: 1.522 MB / 440.4 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.2903, allocations: 44.02 kB / 440.5 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.2903, allocations: 8 kB / 440.5 MB, free: 14.33 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.0001285/0.2904, allocations: 121.8 kB / 440.6 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.2905, allocations: 15.89 kB / 440.6 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/0.2909, allocations: 175.1 kB / 440.8 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2909, allocations: 4 kB / 440.8 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.2909, allocations: 0 / 440.8 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2909, allocations: 0 / 440.8 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.2912, allocations: 184.6 kB / 441 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2912, allocations: 3.984 kB / 441 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.2913, allocations: 12 kB / 441 MB, free: 13.77 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.2915, allocations: 77 kB / 441.1 MB, free: 13.69 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2915, allocations: 7.938 kB / 441.1 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.2931, allocations: 1.514 MB / 442.6 MB, free: 12.05 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2931, allocations: 0 / 442.6 MB, free: 12.05 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.2935, allocations: 260.4 kB / 442.8 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.2935, allocations: 7.906 kB / 442.8 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.2935, allocations: 4 kB / 442.8 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.2937, allocations: 15.98 kB / 442.9 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.2938, allocations: 11.97 kB / 442.9 MB, free: 11.73 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2938, allocations: 4 kB / 442.9 MB, free: 11.73 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001025/0.2939, allocations: 115.2 kB / 443 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2939, allocations: 0 / 443 MB, free: 11.62 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003252/0.2942, allocations: 47.94 kB / 443 MB, free: 11.57 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.0001366/0.2943, allocations: 103.4 kB / 443.1 MB, free: 11.46 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007292/0.2951, allocations: 309.8 kB / 443.4 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2951, allocations: 128 / 443.4 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.2954, allocations: 166.7 kB / 443.6 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2957, allocations: 31.97 kB / 443.6 MB, free: 10.93 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.2963, allocations: 270.8 kB / 443.9 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.2967, allocations: 0.7123 MB / 444.6 MB, free: 9.898 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 5.09e-05/0.2967, allocations: 4.5 kB / 444.6 MB, free: 9.895 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.2968, allocations: 11.44 kB / 444.6 MB, free: 9.883 MB / 350.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.2968, allocations: 0 / 444.6 MB, free: 9.883 MB / 350.1 MB
Notification: Performance of Templates: time 0.006878/0.3037, allocations: 3.045 MB / 447.7 MB, free: 6.871 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.689811349846423]