Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001626/0.001626, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001797/0.001797, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier")
translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier") [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.001971/0.001971, allocations: 64.77 kB / 379 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2752, allocations: 53.38 MB / 432.4 MB, free: 6.988 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007943/0.2831, allocations: 6.301 MB / 438.7 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003708/0.2868, allocations: 1.71 MB / 440.4 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007712/0.2876, allocations: 55.69 kB / 440.5 MB, free: 14.89 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.2883, allocations: 305.5 kB / 440.8 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001513/0.2898, allocations: 441.2 kB / 441.2 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.2906, allocations: 355.4 kB / 441.6 MB, free: 13.81 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00269/0.2933, allocations: 2.149 MB / 443.7 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.2954, allocations: 1.403 MB / 445.1 MB, free: 10.19 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.2971, allocations: 1.055 MB / 446.2 MB, free: 9.129 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.2992, allocations: 1.241 MB / 447.4 MB, free: 7.883 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.2997, allocations: 292 kB / 447.7 MB, free: 7.598 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009008/0.3006, allocations: 467.6 kB / 448.1 MB, free: 7.141 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007931/0.3014, allocations: 0.709 MB / 448.9 MB, free: 6.43 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001752/0.3031, allocations: 1.237 MB / 450.1 MB, free: 5.188 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004487/0.3076, allocations: 3.638 MB / 453.7 MB, free: 1.539 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3076, allocations: 3.938 kB / 453.7 MB, free: 1.535 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.3076, allocations: 0 / 453.7 MB, free: 1.535 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 4.621e-05/0.3076, allocations: 4 kB / 453.7 MB, free: 1.531 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: 531
 * Number of variables: 531
Notification: Performance of Generate backend data structure: time 0.005178/0.3128, allocations: 2.457 MB / 456.2 MB, free: 15.03 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.3129, allocations: 12.03 kB / 456.2 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.3136, allocations: 267.5 kB / 456.5 MB, free: 14.75 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.3159, allocations: 1.254 MB / 457.7 MB, free: 13.46 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3161, allocations: 160.5 kB / 457.9 MB, free: 13.3 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.3164, allocations: 208.1 kB / 458.1 MB, free: 13.1 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004855/0.3212, allocations: 2.614 MB / 460.7 MB, free: 10.4 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.3213, allocations: 3.938 kB / 460.7 MB, free: 10.39 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.3216, allocations: 84 kB / 460.8 MB, free: 10.31 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.828e-05/0.3216, allocations: 56 kB / 460.8 MB, free: 10.26 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.3258, allocations: 2.085 MB / 462.9 MB, free: 8.156 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.3383, allocations: 7.196 MB / 470.1 MB, free: 0.7773 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.3404, allocations: 1.304 MB / 471.4 MB, free: 15.48 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.3419, allocations: 0.8933 MB / 472.3 MB, free: 14.59 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.342, allocations: 16.84 kB / 472.3 MB, free: 14.58 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.342, allocations: 43.56 kB / 472.4 MB, free: 14.53 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.467e-06/0.342, allocations: 0 / 472.4 MB, free: 14.53 MB / 382.1 MB
Notification: Performance of matching and sorting (n=97): time 0.008298/0.3503, allocations: 3.895 MB / 476.3 MB, free: 10.59 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.3504, allocations: 68.28 kB / 476.3 MB, free: 10.51 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.3518, allocations: 0.8681 MB / 477.2 MB, free: 9.629 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.3519, allocations: 41.7 kB / 477.2 MB, free: 9.582 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007225/0.3526, allocations: 0.8514 MB / 478.1 MB, free: 8.719 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.3529, allocations: 341.1 kB / 478.4 MB, free: 8.383 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.3532, allocations: 182.5 kB / 478.6 MB, free: 8.195 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002051/0.3534, allocations: 345.9 kB / 478.9 MB, free: 7.852 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008976/0.3543, allocations: 497.7 kB / 479.4 MB, free: 7.367 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.3554, allocations: 0.6733 MB / 480.1 MB, free: 6.629 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.3572, allocations: 1.201 MB / 481.3 MB, free: 5.359 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3573, allocations: 4 kB / 481.3 MB, free: 5.355 MB / 382.1 MB
Notification: Performance of matching and sorting (n=123) (initialization): time 0.002879/0.3601, allocations: 1.613 MB / 482.9 MB, free: 3.723 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3602, allocations: 16.12 kB / 482.9 MB, free: 3.707 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3602, allocations: 4 kB / 482.9 MB, free: 3.703 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.3614, allocations: 470.9 kB / 483.4 MB, free: 3.23 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.362, allocations: 179.7 kB / 483.6 MB, free: 3.055 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.3723, allocations: 8.88 MB / 492.5 MB, free: 9.719 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.373, allocations: 43.91 kB / 492.5 MB, free: 9.676 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.373, allocations: 35.98 kB / 492.5 MB, free: 9.641 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 22
 * Number of states: 0 ()
 * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (88):
 * Single equations (assignments): 82
 * Array equations: 2
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 3 systems
   {(2,7), (2,7), (2,7)}
Notification: Performance of prepare postOptimizeDAE: time 0.001213/0.3743, allocations: 0.6457 MB / 493.2 MB, free: 8.984 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.3745, allocations: 107.3 kB / 493.3 MB, free: 8.879 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.3748, allocations: 138.2 kB / 493.4 MB, free: 8.734 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/0.3748, allocations: 12 kB / 493.4 MB, free: 8.723 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.3748, allocations: 4 kB / 493.4 MB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3748, allocations: 7.922 kB / 493.4 MB, free: 8.711 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006099/0.3809, allocations: 3.453 MB / 496.9 MB, free: 5.18 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3809, allocations: 4 kB / 496.9 MB, free: 5.176 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.3815, allocations: 123.8 kB / 497 MB, free: 5.055 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.3825, allocations: 451 kB / 497.5 MB, free: 4.602 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.67e-05/0.3826, allocations: 36.03 kB / 497.5 MB, free: 4.566 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009958/0.3925, allocations: 8.79 MB / 0.4944 GB, free: 11.33 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3925, allocations: 0 / 0.4944 GB, free: 11.33 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.3965, allocations: 2.301 MB / 0.4967 GB, free: 8.992 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.3971, allocations: 207.3 kB / 0.4969 GB, free: 8.789 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.3973, allocations: 20 kB / 0.4969 GB, free: 8.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3977, allocations: 43.95 kB / 0.4969 GB, free: 8.727 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.3979, allocations: 92.77 kB / 0.497 GB, free: 8.633 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.398, allocations: 27.98 kB / 0.497 GB, free: 8.605 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0008756/0.3988, allocations: 0.6122 MB / 0.4976 GB, free: 8 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3988, allocations: 0 / 0.4976 GB, free: 8 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.00144/0.4003, allocations: 379.9 kB / 0.498 GB, free: 7.629 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v)
 * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (62):
 * Single equations (assignments): 56
 * Array equations: 2
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 3 systems
   {(2,7), (2,7), (2,7)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.4006, allocations: 151.1 kB / 0.4981 GB, free: 7.473 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.002922/0.4035, allocations: 1.777 MB / 0.4999 GB, free: 5.648 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4035, allocations: 0 / 0.4999 GB, free: 5.648 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00181/0.4053, allocations: 1.211 MB / 0.5011 GB, free: 4.383 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.4066, allocations: 298 kB / 0.5013 GB, free: 4.09 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/0.4127, allocations: 3.685 MB / 0.5049 GB, free: 372 kB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.4143, allocations: 1.73 MB / 0.5066 GB, free: 14.6 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0005341/0.4148, allocations: 188.9 kB / 0.5068 GB, free: 14.41 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.415, allocations: 67.42 kB / 0.5069 GB, free: 14.35 MB / 430.1 MB
Notification: Performance of SimCode: time 8.42e-07/0.415, allocations: 0 / 0.5069 GB, free: 14.35 MB / 430.1 MB
Notification: Performance of Templates: time 0.03984/0.4548, allocations: 21.89 MB / 0.5283 GB, free: 8.684 MB / 446.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.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.522666597738862]